How Can A Protected Modifier Be Accessed #233
How can a protected modifier be accessed?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Classes Methods - Java Access Control - Quiz No.1.
How can a protected modifier be accessed?
accessible only within the class
accessible only within package
accessible within package and outside the package but through inheritance only
accessible by all