MCQ
Which access modifier is given before type of variable or method to provide public access?
  • public
  • B
    private
  • C
    package
  • D
    protected

Answer

Correct option: A.
public
public

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