Further Examples
| |||
Money What is money?What is the essential information a program needs to
know about money? How can these be represented as fields in a Is this the only way to represent Money? What should the constructor for What should the Do you need any getter or setter methods? (Can money change its state or should it be immutable?) What do you want to do with money? What methods should you write? AnglesComplex NumbersWhat is a complex number?What are the essential parts of a complex number? How
can these be represented as fields in a Is this the only way to represent a complex number? What should the constructor for a What should the Do you need any What do you want to do with a complex number? What methods should you write? | |||
|