TurkuBasicOOPinJava / Week 5: Class hierarchies /01B Inheritance relationships
KaiquanMah's picture
Create 01B Inheritance relationships
85b4d47 verified
raw
history blame
572 Bytes
The task involves a bunch of inheritance relationships.
Drag the selections into the correct boxes according to whether the inheritance relationship is
correct,
reversed or
completely missing between the two categories shown.
Inheritance correct
Steering wheel inherits Control device
Peppercake inherits Pastry
Fanta inherits Soft drink
Turtle inherits Animal
Inheritance in reverse
Soft drink inherits Pepsi
Boat inherits Rowing boat
House inherits Detached House
No relationship
Hall inherits Movie theater
Poem inherits Poembook
Keyboard inherits Computer