In another class, the following declaration appears:
someclass obj = new someclass();
Which of the following code segments will compile without error?
A) someclass obj = new someclass();
B) someclass obj;
C) someclass obj = null;
D) someclass obj = new Object();




Answer :

Other Questions