Q87
Which of the following is a valid declaration of an object of class Box?
A.
Box obj = new Box();
AnswerB.
Box obj = new Box;
C.
obj = new Box();
D.
new Box obj;
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board