1: public class Clazz { 2: public boolean flags[] = new boolean[2]; 3: public static void main(String[] args){ 4: Clazz clazz = new Clazz(); 5: System.out.println("flags[1] = " + clazz.flags[1]); 6: } 7: }
Login in to like
Login in to comment
or Read more about Java Quizzes
Login in to like
Login in to comment