
Using Structures For Similar Types
In OO parlance we are very used to inheritance, polymorphism and subtypes. These let us create objects which share common properties and methods that we can override within the different classes. Since these objects come from the same base object, they can further be cast from one type to another, as long as the parent type is the same.




