How to make sure that Childclass method actually overrides the method of the superclass?
The @Override annotation can be added to the javadoc for the new method. If you accidently miss an argument or capitalize the method name wrong, the compiler will generate a compile-time error.
Posted in: