Lecture overview -- Keyboard shortcut: 'u'  Previous page: Example: Geometric Shapes -- Keyboard shortcut: 'p'  Next page: The Principle of Substitution -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 7 : 40
Object-oriented Programming in C#
Specialization, Extension, and Inheritance
Specialization of classes

  • Objects of specialized classes

    • fulfill stronger conditions (constraints) than objects of generalized classes

      • obey stronger class invariants

    • have simpler and more accurate operations than objects of generalized classes


Specialization of classes in pure form do not occur very often.

Specialization in combination with extension is much more typical.