Introduction to OOP
Chapter 16: Overriding :
next
previous
audio
real
text
Overridden Relationals
Child classes need only override
one
method (for example <) to get effect of all relationals.
Overridden in class Integer to mean integer less than.
Overridden in class Char to be ascii ordering sequence.
Overridden in class String to mean lexicalgraphic ordering.
Overridden in class Point to mean lower-left quadrant.
Intro OOP,
Chapter 16
, Slide 05