Home / Programming MCQs / JAVA MCQs / Question
R
Q. Predict the output of following Java program
class Test { int i; } class Main { public static void main(String args[]) { Test t = new Test(); System.out.println(t.i); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
A java program must contain a______ method.
The JDK forms an extended subset of a software development kit (SDK)
When a Class inherits two superclasses (not in Java), it is called ____ inheritance.
The wrapper classes are defined in _________ packages.
__________ is a special member function.
Which option is false about the final keyword?
Discusssion
Login to discuss.