Which of the following is NOT an access modifier in Java ?

2025

Which of the following is NOT an access modifier in Java ?

  1. A.

    public

  2. B.

    private

  3. C.

    protected

  4. D.

    accessible

Attempted by 69 students.

Show answer & explanation

Correct answer: D

Java has four access modifiers: public, private, protected, and default. The option 'accessible' is not a valid Java access modifier. Therefore, the correct answer identifies which listed item does not exist in Java's access control system.

Explore the full course: Tpsc Assistant Technical Officer