Even if the method with the final qualifier set in the parent class is overridden in the child class, no error is displayed at compile time, and an error is displayed at the execution stage after compilation.
It seems that an error is displayed at compile time.
The behavior is different from the teaching material, so make a note of it.
Recommended Posts