Class BankAcct

java.lang.Object
  extended by BankAcct

public class BankAcct
extends java.lang.Object


Constructor Summary
BankAcct(double balance, java.lang.String name)
           
 
Method Summary
 void deposit(double amnt)
           
 int getAcctNum()
           
 double getBalance()
           
 java.lang.String getName()
           
 void printInfo()
           
 void setName(java.lang.String name)
           
 boolean withdrawl(double amnt)
           
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BankAcct

public BankAcct(double balance,
                java.lang.String name)
Parameters:
balance -
name -
acctNum -
Method Detail

deposit

public void deposit(double amnt)

getAcctNum

public int getAcctNum()

getBalance

public double getBalance()

getName

public java.lang.String getName()

printInfo

public void printInfo()

setName

public void setName(java.lang.String name)

withdrawl

public boolean withdrawl(double amnt)