MCQ
Each instance of a class can hold different values for its attributes in variables declared in a class What such variables are referred as?
  • Instance variable
  • B
    Class variable
  • C
    Object variable
  • D
    Garbage variable

Answer

Correct option: A.
Instance variable
Instance variable

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