A good answer might be:An object has identity, state and behavior. (Or, you might say that an object is an individual thing that has data and methods.) |
Establishing the RequirementsIn this chapter we will develop a checking account class. To start, we must decide what checking account objects will do and what data they will hold. This process is called requirements analysis and for industrial sized problems is the most important (and most difficult) (and highest paid) phase of writing programs. Even for small problems it is important to know what you want before you start writing. For our small problem we will outline what the class looks like before we start coding. The class definition will be a blueprint for checking account objects, so any data and behavior that we want for a checking account must be described in the class. |
QUESTION 2:Think of three data items that will be part of a checking account. Click Here after you have answered the question |