The visibility of these modifiers increases in this order:

The visibility of these modifiers increases in this order:


A. private, protected, none (if no modifier is used), and public.
B. private, none (if no modifier is used), protected, and public.
C. none (if no modifier is used), private, protected, and public.
D. none (if no modifier is used), protected, private, and public.

The correct answer is B


Java

Learn More Multiple Choice Question :