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
Be the first to start discuss.
Q. Which of these can be overloaded?
Q. Which of the following reference types cannot be generic?
Q. What are the advantages of Method Overriding in Java?
Q. In Java, a constructor with no parameters or no arguments is called ___ constructor.
Q. ____________ is not a package in java.
Q. Which of these is necessary condition for automatic type conversion in Java?
Discusssion
Login to discuss.