In the last video we began using the keyword extends to unlock the power of Inheritance in JAVA.
but what we didn't answer was how can we keep all the objects in one single data structure.
And to figure this out, let's play an old fashioned matching game.
What I have here on the left is a Reference and
on the right I have an Object.
References and Objects are gonna become front and center.
We're gonna talk about what decisions are made of compile time, based on reference
type and what decisions are made at run time based on object actual type.
But before we can get there,
we have a few more details to work out with inheritance in the next videos.