override (2)
ümber kehtestama; üle katma
olemus
objektprogrammeerimiskeeltes:
meetodi käitumist teistsuguseks määratlema
Wiktionary:
5. (object-oriented programming) to define a new behaviour of a method by creating the same method of the superclass with the same name and signature
How the cat runs is defined in the method run() of the class Cat, which overrides the same method with the same signature of superclass called Mammal.
ülevaateid
https://en.wikipedia.org/wiki/Method_overriding
https://docs.oracle.com/javase/tutorial/java/IandI/override.html