MCQ
Which of the following access modifiers are used before the type of variable or method?
  • A
    public
  • B
    private
  • C
    protected
  • All of these

Answer

Correct option: D.
All of these
All of these

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