

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program? class box { int width; int height; int length; } class mainclass { public static void main(String args[]) { box obj = new box(); System.out.println(obj); } } |
A. | 0 |
B. | 1 |
C. | Runtime error |
D. | classname@hashcode in hexadecimal form |
Answer» E. | |