Programming Principles: Super and Sub-classes
| Resumo |
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. |
|---|---|
| Formato |
application/vnd.ms-powerpoint |
| Identificador |
http://www.edshare.soton.ac.uk/8059/1/Super_and_sub%2Dclasses.pptx Programming Principles: Super and Sub-classes - UNSPECIFIED Keywords:java, inheritance, objects |
| Relação |
http://www.edshare.soton.ac.uk/8059/ |
| Tipo |
Resource NonPeerReviewed |