Establishing the Requirements

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   go to next page

Answer:

Sure. A checking account has identity, state, and behavior, just like a software object.

Establishing the Requirements

This chapter develops a checking account class. To start, decide what checking account objects do and what data they hold. This process is called requirements analysis and is the most important phase of writing big programs.

The companies of the late, lamented, dot-com bubble were strong on sock-puppets and weak on requirements analysis.

QUESTION 2:

Think of three data items that will be part of a checking account.