Which of the following is NOT an access modifier in Java ?
2025
Which of the following is NOT an access modifier in Java ?
- A.
public
- B.
private
- C.
protected
- 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.