Does @override do anything?

Does @override do anything?
Answer
The @Override annotation indicates that the child class method is over-writing its base class method. It extracts a warning from the compiler if the annotated method doesn’t actually override anything. It can improve the readability of the source code.
 

Tìm kiếm

Back
Top