java4all@1986 java. Powered by Blogger.

A boolean is being stored and then retrieved from an ArrayList

>> Monday, May 23, 2011

import java.util.ArrayList;

public class Main {
public static void main(String... args) {
ArrayList list = new ArrayList();
list.add(true);
boolean flag = list.get(0);
}
}

0 comments:

Post a Comment

FaceBook Login

HTML/JAVASCRIPT

HTML/JAVASCRIPT

HTML/JAVASCRIPT

HTML/JAVASCRIPT

Total Pageviews

STATCOUNTER

  © Blogger template Simple n' Sweet by Ourblogtemplates.com 2009

Back to TOP