Lecture overview -- Keyboard shortcut: 'u'  Previous page: Example: Bank Accounts -- Keyboard shortcut: 'p'  Next page: Example: Geometric Shapes -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Specialization, Extension, and Inheritance - slide 5 : 40

Example: Bank Accounts in C#

A CheckAccount is a BankAccount, a SavingsAccount is a BankAccount, and a LotteryAccount is a BankAccount.

On this slide we will preview the mechanisms that are used for programming of the BankAccount specializations

The base class BankAccount.
The class CheckAccount.
The class SavingsAccount.
The class LotteryAccount.
The singleton class Lottery - used by LotteryAccount.