Method Overloading and Method Overriding
Casual Mode - Take your time!
1 / 15
Correct
0
Incorrect
0
Score
0%
Multiple Choice
If there is a protected method within the Public class, then which of the following statements is correct?
- Protected method does not access the public method.
- Method is accessible from inside a class and a subclasses.
- Protected method is not allowed within the Public class.
- Method is accessible from inside the class and all the classes defined in the same package, where the class is defined itself.