adplus-dvertising
frame-decoration

Question

To successfully override a superclass method in Java, the access modifier of the method of the subclass can be ___ restrictive.

a.

Less

b.

More

c.

Less or Same

d.

None of the above

Posted under Java Programming

Answer: (c).Less or Same

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To successfully override a superclass method in Java, the access modifier of the method of the subclass can be ___ restrictive.