Class BankAcct
java.lang.Object
BankAcct
public class BankAcct
- extends java.lang.Object
Constructor Summary |
BankAcct(double balance,
java.lang.String name)
|
Methods inherited from class |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BankAcct
public BankAcct(double balance,
java.lang.String name)
- Parameters:
balance
- name
- acctNum
-
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)