Lecture overview -- Keyboard shortcut: 'u'  Source programs in previous lecture -- Keyboard shortcut: 'p'  Source programs in next lecture -- Keyboard shortcut: 'n'  Course home

Source Programs
Specialization, Extension, and Inheritance

The Note Context in the rightmost column is only shown in case an annotated program exists. - You can navigate to the annotated program via the annotated slide view (= 'the note context').

The base class BankAccount.bank-account.csSlide contextText book context-
The class CheckAccount.check-account.csSlide contextText book context-
The class SavingsAccount.savings-account.csSlide contextText book context-
The class LotteryAccount.lottery-account.csSlide contextText book context-
The singleton class Lottery - used by LotteryAccount.lottery.csSlide contextText book context-
The class Point2D.Point.csSlide contextText book context-
The class Point3D which extends class Point3d.Point3D.csSlide contextText book context-
A client of the classes Point2D and Point3d.Client.csSlide contextText book context-
A class A and its subclass B.class-base-class.csSlide contextText book context-
Initializers and constructors of class C.c.csSlide contextText book context-
Initializers and constructors of class B.b.csSlide contextText book context-
Initializers and constructors of class A.a.csSlide contextText book context-
The class Init and the method InitMe.init.csSlide contextText book context-
A program that instantiates and initializes class C.app.csSlide contextText book context-
The base class BankAccount.bank-account.csSlide contextText book context-
The class CheckAccount.check-account.csSlide contextText book context-
The class SavingsAccount.savings-account.csSlide contextText book context-
The class LotteryAccount.lottery-account.csSlide contextText book context-
The class Lottery.lottery.csSlide contextText book context-
Two methods M in classes A and B, where B inherits from A.redef1.csSlide contextText book context-
Illustration of static and dynamic types.static-dynamic-types.csSlide contextText book context-
Corrections of the errors in the illustration of static and dynamic types.static-dynamic-types-corrected.csSlide contextText book context-
An illustration of dynamic type run-time check with v is C.ex1.csSlide contextText book context-
An illustration of type casting (C)v.ex2.csSlide contextText book context-
An illustration of type conversion with v as C.ex3.csSlide contextText book context-
An illustration of virtual and new methods in class A and B.virt.csSlide contextText book context-
An illustration of virtual and new methods in class A and B - Simplified.virt-simplified.csSlide contextText book context-
An illustration of virtual and new methods - More simplified.virt-more-simplified.csSlide contextText book context-
Use of virtual bank account methods.account-client.csSlide contextText book context-
Adding interests without use of dynamic binding - AddInterest is not virtual.account-client.csSlide contextText book context-
Equals and GetHashCode Methods in class BankAccount.bank-account.csSlide contextText book context-
An illustration of upcasting and downcasting.upcast-downcast.csSlide contextText book context-
An illustration of "non-virtual variable access".var-access.csSlide contextText book context-
Similar illustration with virtual properties.var-access-with-properties.csSlide contextText book context-
Classes for exercise.exercise.csSlide contextText book context-

Generated: Monday February 7, 2011, 12:16:38