MCQ
Which of the following is a statement to declare class variable tot Window in class with instance variables?
  • static int tot Windows;
  • B
    class int tot Windows;
  • C
    a Or b
  • D
    None of these

Answer

Correct option: A.
static int tot Windows;
static int tot Windows;

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