Programming Principles: Super and Sub-classes

LoadingLoading previews...
SuperSubClasses.mp4
Video Creative Commons: Attribution-Noncommercial 4.0
Download (580MB)
SuperSubClasses.mp4
SuperSubClasses.mp4
Super and sub-classes.pptx
Super and sub-classes.pptx
2 files in this resource

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.

Actions (login required)

View Item View Item

Toolbox

There are no actions available for this resource.