Java View all facts Glossary Help |
| process > method overriding |
| method overriding comparison table | ||||||
| Subject | occur | is a kind of | have benefit | is a synonym of | is a subtopic of | has definition |
|---|---|---|---|---|---|---|
| process | kbTop | Threads | ||||
| method overriding | 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 | process | that a class can inherit from a superclass whose behaviour is "close enough" and then override some methods as needed | shadowing | Methods | The process of providing a more specialized implementation for the method |
Next process: subclassing Up: process Previous process: invocation