Spaces:
Running
Running
Create 01B Inheritance relationships
Browse files
Week 5: Class hierarchies/01B Inheritance relationships
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The task involves a bunch of inheritance relationships.
|
| 2 |
+
Drag the selections into the correct boxes according to whether the inheritance relationship is
|
| 3 |
+
correct,
|
| 4 |
+
reversed or
|
| 5 |
+
completely missing between the two categories shown.
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
Inheritance correct
|
| 10 |
+
Steering wheel inherits Control device
|
| 11 |
+
Peppercake inherits Pastry
|
| 12 |
+
Fanta inherits Soft drink
|
| 13 |
+
Turtle inherits Animal
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
Inheritance in reverse
|
| 17 |
+
Soft drink inherits Pepsi
|
| 18 |
+
Boat inherits Rowing boat
|
| 19 |
+
House inherits Detached House
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
No relationship
|
| 23 |
+
Hall inherits Movie theater
|
| 24 |
+
Poem inherits Poembook
|
| 25 |
+
Keyboard inherits Computer
|
| 26 |
+
|