RegularAccount

 

RegularAccount.java is a class that implements a "regular" bank account. This class extends MinimumAccount.

 

public RegularAccount ( String name, String pin, double initial)

Constructor

Receives: the name, pin, and initial balance:

Postcondition: superclass constructor has been called, the initial balance has been set:

Class wide attributes

static public final double MINIMUM = 500.00
The minimum balance for a regular account.

static public final double PENALTY = 10.00

The penalty for a regular account if the balance falls below the minimum.

 


Back to the package documentation index


Back to the Introduction


Copyright 2000 by Prentice Hall. All rights reserved.