

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program? class Output { public static void main(String args[]) { Object obj = new Object(); System.out.print(obj.getclass()); } } |
A. | Object |
B. | Class Object |
C. | class java.lang.Object |
D. | Compilation Error |
Answer» D. Compilation Error | |