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 8

LECTURE 8:
Abstract classes, Interfaces, and Patterns

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 1Method CombinationPage 20The Composite design pattern
Page 2Method CombinationPage 21A Composite Example: Music Elements
Page 3Parameter VariancePage 22An application of Music Elements
Page 4Covariance and ContravariancePage 23Implementation of MusicElement classes
Page 5Abstract Classes - Sealed ClassesPage 24A Composite example: IntSequence
Page 6Abstract ClassesPage 25A Composite example: IntSequence application
Page 7Abstract classes and abstract methods in C#Page 26Implementation of the IntSequence classes
Page 8Abstract PropertiesPage 27A Composite Example: A GUI
Page 9Sealed Classes and Sealed MethodsPage 28A Composite Example: A GUI
Page 10InterfacesPage 29A Composite Example: A GUI
Page 11InterfacesPage 30Cloning
Page 12Interfaces in C#Page 31Cloning in C#
Page 13Examples of InterfacesPage 32The fragile base class problem
Page 14Interfaces from the C# LibrariesPage 33The Visitor design pattern
Page 15Sample use of IComparablePage 34Natural object-oriented IntSequence traversals
Page 16Sample use of IEnumerator and IEnumerablePage 35Towards a Visitor solution
Page 17Sample use of IFormattablePage 36A Visitor example: IntSequence
Page 18Explicit Interface Member ImplementationsPage 37Visitors - Pros and Cons
Page 19Patterns and Techniques

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