31. ATM Case Study, Part 2: Implementing an Object-Oriented Design

Objectives

In this chapter you’ll learn:

• Incorporate inheritance into the design of the ATM.

• Incorporate polymorphism into the design of the ATM.

• Fully implement in C# the UML-based object-oriented design of the ATM software.

• Study a detailed code walkthrough of the ATM software system that explains the implementation issues.

You can’t work in the abstract.

I. M. Pei

To generalize means to think.

Georg Wilhelm Friedrich Hegel

We are all gifted. That is our inheritance.

Ethel Waters

Let me walk through the fields of paper touching with my wand dry stems and stunted butterflies...

Denise Levertov

Outline

31.1 Introduction

31.2 Starting to Program the Classes of ...

Get C# 2010 for Programmers, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.