Beginner
Java
Q14 / 100
Which access modifier makes a member visible only within its class?
Correct! Well done.
Incorrect.
The correct answer is D) private
D
Correct Answer
private
Explanation
private restricts access to within the declaring class only; it is the most restrictive access modifier.
Progress
14/100