You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default methods in Java 8+ interfaces provide some additional support for users that need to implement our interfaces but don't want to (or can't) use our abstract classes.
In some cases, they may allow us to get rid of our abstract classes entirely.
The text was updated successfully, but these errors were encountered:
A thing we may want to watch out for is if we have any abstract classes with final methods, we may not want to or be able to migrate those to default methods on interfaces, as a user could then override them.
Default methods in Java 8+ interfaces provide some additional support for users that need to implement our interfaces but don't want to (or can't) use our abstract classes.
In some cases, they may allow us to get rid of our abstract classes entirely.
The text was updated successfully, but these errors were encountered: