What is the access specifier used to make members of a class accessible only within the same package?
Show answerHide answer
Correct answer: (C) package-private
Explanation
Java's default (package-private) access, with no modifier at all, makes a member visible only to classes in the same package.