Copyright © 2002 HYWY
Software Corporation
Gopalan Suresh Raj
Chief Architect, HYWY Software
Step 3-E: Add Business Logic
The Checking Class:
Modify constructor and toString() methods:
–
public Checking() {
–
super();
–
this.accountType_ = Account.CHECKING_ACCOUNT_;
–
}
–
public java.lang.String toString() {
–
return super.toString();
–
}