MCQ
What is the syntax to create class variable ?
  • A
    <variable name><class name>
  • B
    <object name><class Name>
  • <class name> <variable name>
  • D
    <object name><variable name>

Answer

Correct option: C.
<class name> <variable name>
C

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