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