Java   View all facts   Glossary   Help
process > method overriding
Next processsubclassing    Upprocess    Previous processinvocation   

method overriding
(hiding, overriding, overshadowing)
subjectfact 
method overridingis a synonym of hiding2001-10-19 11:36:51.0
has definition The process of providing a more specialized implementation for the methodadded by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:24.0
has benefit that a class can inherit from a superclass whose behaviour is "close enough" and then override some methods as neededadded by: JK, 2001-10-19 11:37:24.0
is a subtopic of Methods2001-10-19 11:37:25.0
is a kind of processadded by: JK, 2001-10-19 11:37:25.0
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 otheradded by: JK, source: On To Java, 2001-10-19 11:37:25.0
is a synonym of overriding2001-10-19 11:37:37.0
is a synonym of overshadowing2001-10-19 11:37:38.0
is a synonym of shadowing2001-10-19 11:37:53.0