MCQ
Which variables are allocated memory only once per class and is shared by all its objects?
  • A
    Local
  • Class
  • C
    Instance
  • D
    Private

Answer

Correct option: B.
Class
B

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