Which of the following is not an access modifier in Java language?
2024
Which of the following is not an access modifier in Java language?
Answer: D. External — Java access modifiers include public, private, and protected. External is not a Java access modifier.
- A.
Public
- B.
Private
- C.
Protected
- D.
External
- E.
Question not attempted
Attempted by 527 students.
Show answer & explanation
Correct answer: D
Java access modifiers include public, private, and protected. External is not a Java access modifier.
Loading lesson…