Java View all facts Glossary Help |
process > method overriding |
method overriding (hiding, overriding, overshadowing) | ||||
subject | fact |
method overriding | is a synonym of hiding | |
has definition The process of providing a more specialized implementation for the method | ||
has benefit that a class can inherit from a superclass whose behaviour is "close enough" and then override some methods as needed | ||
is a subtopic of Methods | ||
is a kind of process | ||
occurs when two methods with the same name, the same number of parameters, and the same parameter types are defined in different classes, one of which is a superclass of the other | ||
is a synonym of overriding | ||
is a synonym of overshadowing | ||
is a synonym of shadowing |