Multiple Choice
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;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: What are the pillars of OOPS concept?<br>A)Abstraction,
Q3: Which class cannot be a subclass in
Q4: Which of the following statements is correct?<br>A)Public
Q5: What is the stored in the object
Q6: JAR stands for?<br>A)Java Archive<br>B)Java Archive Runner<br>C)Java Application
Q8: What is the default buffer size used
Q9: Why we use array as a parameter
Q10: Program which executes applet is known as<br>A)applet
Q11: What is different between a Java applet
Q12: Which of these is correct about passing