Title: Exceptions in Java | Java Tutorials | CodeMistic
Description: Method overriding is used to provide the specific implementation of a method which is already provided by its superclass. Method overriding is used for runtime polymorphism. The access modifier for an overriding method can allow more, but not less, access than the overridden method. For example, a protected instance method in the super-class can be made public, but not private, in the subclass. Doing so, will generate compile-time error.
Keywords:
Domain: codemistic.github.io
Links:
Viewport: width=device-width, initial-scale=1.0