Course contentsShow
Java
Lesson 715 of 2,87017. Access Control in DepthPro lesson

Overriding and Access Levels: The Widening Rule

Overriding methods must have equal or wider access than the superclass method; you cannot reduce visibility.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.