Loading previews...
SuperSubClasses.mp4
Video
|
Download (580MB) |
<iframe width="560" height="315" src="https://edshare.soton.ac.uk/cgi/embed_player?docid=322137" frameborder="0" allowfullscreen="1"></iframe>
<p><video controls="controls" >
<source src="/8059/5.hasvideo_mp4ThumbnailVersion/SuperSubClasses.mp4" type="video/mp4" />
Your browser does not support HTML5 video
</video></p>
<source src="/8059/5.hasvideo_mp4ThumbnailVersion/SuperSubClasses.mp4" type="video/mp4" />
Your browser does not support HTML5 video
</video></p>
SuperSubClasses.mp4 |
1 file in this resource
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.
Added By: |
Prof David Millard
|
---|---|
Date Added: | 14 Nov 2011 00:09 |
Tags: | java, inheritance, objects |
Viewing permissions: | World |
Course codes: | COMP1004, COMP1202 |
Link: | http://edshare.soton.ac.uk/id/eprint/8059 |
Downloads & Views |
Toolbox
There are no actions available for this resource.