ClassDesign
Objectives
Upon
completion of this lab, you should be able to:
- Create subclasses with inheritance and overriding of methods
- Create a heterogeneous collection and use polymorphism
Exercise 1: Creating Bank Account Subclasses
( Level 1, Level 2, Level 3 )
Exercise 2: Creating a Heterogeneous
Collection of Customer Accounts (Level 1, Level 2, Level
3)
Exercise 3: Creating a Batch Program ( Advanced )