Question: in java Which of the following is a valid declaration of an object of class Box? new Box obj; Box obj = new Box [];
Which of the following is a valid declaration of an object of class Box? new Box obj; Box obj = new Box []; Box obj = new Box(); obj = new Box(); Moving to the next question prevents changes to this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
