To implement the interface, we use implements , and if any method exists in this interface, we override these methods to ensure implementation.
Thus, there is only the @Override annotation, because in both cases (class or interface) we always override.
Sumit singh
source share