MCQ
Which variables are allocated memory from heap area when an object is instantiated ?
  • A
    Class
  • Instance
  • C
    Non-static
  • D
    Static

Answer

Correct option: B.
Instance
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