🎴 Flashcard Mode

Java and C Programming Fundamentals

Card1 / 15
Mastered0
Review0
QuestionClick to flip

Which of the following accessibility modes in Java does not allow a method to access the data members from the non-subclass of the same package?

AnswerClick to flip back
A
Private
💡 Explanation:

This accessibility mode in Java does not allow a method to access the data members from the non-subclass of the same package.

Change Mode