I have found the @Override annotation very much helpful while overriding some super class methods in my derived classes. Basically the compiler detects the flaws in my program early which is always a good thing . But why there is no @Implements annotation in Java ?
Because you use @Override for methods defined by interfaces as well.
(Yes, you're "implementing" rather than "overriding" ... but @Override is used for both)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With