Brian

46%
Flag icon
If you know that an interface does not have default methods, you may choose to omit Override annotations on concrete implementations of interface methods to reduce clutter.
Brian
I haven’t found Overrides to be ‘clutter’ I think makes sense to always do?
Robert
· Flag
Robert
I agree. I still think you should annotate implementations of abstract and interface methods. If in the future the abstract/interface method goes away, your method is now an orphan. With the @Override…
Effective Java
Rate this book
Clear rating
Open Preview