Skip to main content

Timeline for Confusion about inheritance

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Nov 12, 2013 at 7:40 history edited gnat CC BY-SA 3.0
is a += http://en.wikipedia.org/wiki/Is-a
Nov 11, 2013 at 13:37 vote accept Samuel Adam
Nov 11, 2013 at 8:53 comment added Maru Electronic_Product is not necessarily an abstract class here. An ElectricProduct can be a class that makes use of fields already present on the Product class then simply adds more fields/methods to it. The Laptop_Product here inherits from ElectricProduct in the same way that ElectricPoduct inherits from Product
Nov 11, 2013 at 7:19 comment added Samuel Adam I did read some of the questions, but none seems to satisfy the curiosity :). I'm really sorry for my bad choice of class noun, but what I meant as Inventory, might be better put as a singular InventoryItem. About the concrete example, Electronic_Product is an abstract I assumed?
Nov 11, 2013 at 6:52 review First posts
Nov 11, 2013 at 7:30
Nov 11, 2013 at 6:35 history answered SailsMan63 CC BY-SA 3.0