Create a base class for a banking account. Decide what characteristics are
common for checking and saving accounts and include these characteristics in
the base class. Define subclasses for checking and savings. In your design,
do not allow the banking base account to be instantiated—only the checking
and saving subclasses. Include a presentation class to test your design.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.