A good answer might be:
(Remember those 15 cent service charges per check.)999 Bob 120 3 111 Jill 870 4 | |
The |
class CheckingAccount
{
private String accountNumber;
private String accountHolder;
private int balance;
private int useCount = 0;
___________ CheckingAccount( String accNumber, String holder, int start ) { . . . . }
private void incrementUse() { . . . . }
___________ int currentBalance() { . . . . }
___________ void processDeposit( int amount ) { . . . . }
___________ void processCheck( int amount ) { . . . . }
___________ void display() { . . . . }
}
|
Mentally fill in a visibility modifier for the constructor and each of the methods.
Click Here after you have answered the question