McqMate
Q. |
Which of the following is a valid declaration of an object of class Box? |
A. | Box obj = new Box(); |
B. | Box obj = new Box; |
C. | obj = new Box(); |
D. | new Box obj; |
Answer» A. Box obj = new Box(); |
View all MCQs in
Java ProgrammingNo comments yet