Question: ***Please answer the below java question*** If a method is defined as protected in a superclass, can a subclass redefine it as public? What if
***Please answer the below java question***
If a method is defined as protected in a superclass, can a subclass redefine it as public? What if the method is defined as public? Can a subclass make it private?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
