1   // joi/5/bank/RegularAccount.java                         
2   //                                                            
3   //                                                            
4   // Copyright 2003 Bill Campbell and Ethan Bolker                         
5                                                               
6   /**
7    * A RegularAccount is a BankAccount that has no special behavior.
8    * 
9    * It does what a BankAccount does.
10   */
11  
12  public class RegularAccount extends BankAccount 
13  {
14  
15      /**
16       * Construct a BankAccount with the given initial balance and
17       * issuing Bank. Construction counts as this BankAccount's
18       * first transaction.
19       *
20       * @param initialBalance the opening balance.
21       * @param issuingBank the bank that issued this account.
22       */
23  
24      public RegularAccount( int initialBalance, Bank issuingBank ) 
25      {
26          super( initialBalance, issuingBank );
27      }
28  
29      /**
30       * Action to take when a new month starts.
31       *
32       * A RegularAccount does nothing when the next month starts.
33       */
34  
35      public void newMonth() {
36          // do nothing
37      }
38  
39  }
40