1

In Java, what access modifier is used to specify that a class member can be accessed only within its class?

Correct Answer: private

Make the most of this question

This page focuses on one JAVA MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

JAVA MCQs MCQ: In Java, what access modifier is used to specify that a class member can be accessed only within its class? | Extra Education