Home / Programming MCQs / JAVA MCQs / Question
S
Q. What is the result of compiling and running the following code?
public class Test{ public static void main(String[] args){ int[] a = new int[0]; System.out.print(a.length); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Which of these classes is not part of Java’s collection framework?
Which one is commonly used to extend the applications hosted by web servers
In a RMI Client Program, what are the exceptions which might have to handled?
Which of the following is a valid declaration of an object of class Box?
You would use the ____ operator to create a single instance of a named class.
What will be the output of the following code –
What is the immediate super class of Applet Class
The keywords reserved but used in the initial version of JAVA are:
Discusssion
Login to discuss.