Browse by Tags: inheritance

Up a level
Export as [feed] Atom [feed] RSS 1.0 [feed] RSS 2.0
Number of items: 1.
  1. [img] [img]
    Preview
    10 - Programming Principles: Super and Sub-classes
    In this session we introduce inheritance - one of the cornerstone concepts of object oriented programming. We look at how to define super and sub-classes, how to maintain encapsulation using the super() constructor, and why it is useful to use substitution to hold references to sub-classes in references typed as their super-class.

    Shared with the World by
    Dr David Millard
This list was generated on Sat Jul 24 19:56:25 2021 UTC.