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
Q9: What is process of defining two or
Q10: Which of these is correct about passing
Q11: What is the process of defining a
Q12: Which of the following statements are incorrect?
A)Default
Q13: What is the stored in the object
Q15: Which of this statement is incorrect?
A)Every class
Q16: Which of the following statements is correct?
A)Public
Q17: Program which executes applet is known as
A)applet
Q18: You read the following statement in a
Q19: Which is true about an anonymous inner
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents