/** * Class for bank accounts supporting deposit, withdraw, and balance inquiry. * * @author JP Vergara * @version 1.0 */ public class BankAccount { /** * Constructor for objects of class BankAccount */ public BankAccount() { } /** * Deposits some amount into the account * * @param amount amount to be deposited */ public void deposit( double amount ) { } /** * Withdraws some amount from the account * * @param amount amount to be withdrawn */ public void withdraw( double amount ) { } /** * Get the current balance * * @return current balance */ public double getBalance( ) { return 0; // need this line if you want this to compile } }