🎴 Flashcard Mode
Method Overloading and Method Overriding
Card1 / 15
Mastered0
Review0
QuestionClick to flip
If there is a protected method within the Public class, then which of the following statements is correct?
AnswerClick to flip back
A
Method is accessible from inside the class and all the classes defined in the same package, where the class is defined itself.
💡 Explanation:
Protected method is accessible from inside the class and all the classes defined in the same package, where the class is defined itself.