Introduction to OOP
Chapter 13: Multiple Inheritance:
next
previous
audio
real
text
CS Example - Complex Numbers
Two abstract classifications
Magnitude
- things that can be compared to each other.
Number
- things that can perform arithmetic
Three specific classes
Integer
- comparable and arithmetic
Char
- comparable but not arithmetic
Complex
- arithmetic but not comparable
Intro OOP,
Chapter 13
, Slide 04