MCQ
Which keyword is used to define class-variable and method?
  • A
    class
  • B
    new
  • C
    super
  • static

Answer

Correct option: D.
static
static

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