Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1.  
  2. public class InsufficentFundsException extends BankAccount {
  3.         double Shortfall;
  4.        
  5.  
  6.    
  7.     public InsufficentFundsException(int Shortfall) {
  8.         super(Shortfall);
  9.        
  10.         this.amount = Shortfall;
  11.     }
  12.    
  13.     public double GetAmount(double amount) {
  14.         return amount;
  15.     }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement