Static

We use the static keyword when we want all the objects to share a single variable. In this program we make 3 new objects that all share the static int…

Continue ReadingStatic

Enumeration

Below we have 3 objects (aka enumerations in this case), and they each have their own set of variables. One for description, and one for year. Enumerations are effectively objects…

Continue ReadingEnumeration