Home / Programming MCQs / JAVA MCQs / Question
R
Q. What is the output of Java code snippet?
int[] ary = {5,6,7,8}; if(ary.length > 2) { System.out.println(ary[2]); }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Which of the following contains both date and time?
Which method cannot be overridden?
Which of the following represent legal flow control statements?
Autoboxing or unboxing involves replacement of Wrapper objects with Primitives and vice versa.
Which of these class is used to access actual bits or content information of aURL?
Which of these methods is a part of Abstract Window Toolkit (AWT) ?
Which containers are used to keep the class name space compartmentalized?
Which of these can not be used for a variable name in Java?
Discusssion
Login to discuss.