Correct inheritance chain: part 4

  • 6
  • Locked
  • Homework
"I thought of objects as living cells or individual computers on a network, only able to communicate with messages," said the man who introduced the term "OOP". (Google it if you need to!) We suggest you do the same. Create a proper "inheritance chain" for the House, Cat, Dog, and Car classes.
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Daniel BuyinzaLevel 12 , Kampala
25 July, 09:49
Could someone explain when and how one can implement the principle of Composition?