Navigate to list of lectures -- Keyboard shortcut: 'u'  Previous lecture -- Keyboard shortcut: 'p'  Next lecture -- Keyboard shortcut: 'n'  Course home        Alphabetic index  Exit possible frame set        First slide  First annotated slide  Lecture notes - all slides and notes together  Textbook of this lecture      PDF print page        Help page about these notes
Lecture 7

LECTURE 7:
Specialization, Extension, and Inheritance

Kurt NÝrmark ©
Department of Computer Science, Aalborg University, Denmark

Title page            Abstract            References from this lecture            Exercises in this lecture            Source programs in this lecture            

A complete PDF version of the text book is now available. The PDF version is an almost complete subset of the HTML version (where only a few, long program listings have been removed). See here.

Page 1Specialization of ClassesPage 21Class Inheritance in C#
Page 2Specialization of ClassesPage 22The top of the class hierarchy
Page 3The extension of class specializationPage 23Methods in the class Object in C#
Page 4Example: Bank AccountsPage 24Inheritance and Constructors
Page 5Example: Bank Accounts in C#Page 25Constructors and initialization order
Page 6Example: Geometric ShapesPage 26Constructors and initialization order: Example
Page 7Specialization of classesPage 27Visibility modifiers in C#
Page 8The Principle of SubstitutionPage 28Inheritance of methods, properties, and indexers
Page 9Extension of ClassesPage 29Inheritance of methods: Example.
Page 10Extension of ClassesPage 30Overriding and Hiding in C#
Page 11An example of simple extensionPage 31Polymorphism. Static and dynamic types
Page 12The intension of class extensionsPage 32Static and dynamic types in C#
Page 13Inheritance in GeneralPage 33Type test and type conversion in C#
Page 14InheritancePage 34Examples of type test and type conversion
Page 15Interfaces to clients and subclassesPage 35Virtual methods in C#
Page 16Visibility and InheritancePage 36Practical use of virtual methods in C#
Page 17Class hierarchies and InheritancePage 37Overriding the Equals method in a class
Page 18Multiple inheritancePage 38Upcasting and downcasting in C#
Page 19Problems with multiple inheritancePage 39Upcasting and downcasting in C#
Page 20Inheritance in C#Page 40Inheritance and Variables

LENO - LEcture NOtes with LAML technologyGenerated: Monday February 7, 2011, 12:16:37
Program Oriented Web Engineering - using LAML