MCQ
Which of the following is accessible by instance methods?
  • Only instance variables
  • B
    Only class variables
  • C
    Both instance variables and class variables
  • D
    All of the above

Answer

Correct option: A.
Only instance variables
Only instance variables

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