MCQ
Which of the following statement(s) is/are true for Java?
  • A
    Declaring a variable does not create an object.
  • B
    In Java, no variable can ever store an object.
  • C
    A variable declared using class type can only store a reference to an object
  • All of these

Answer

Correct option: D.
All of these
All of these

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free