/** A bank account has a balance that can be changed by * deposits and withdrawals. * METHOD STUBS ONLY, for now. */ class BankAccount { /** Construct a bank account with a zero balance. */ BankAccount() { // Our real code will go here, but it's just a stub for now. } /** Construct a bank account with a given balance. * @param initialBalance the initial balance */ BankAccount(double initialBalance) { // Our real code will go here, but it's just a stub for now. } /** Deposit money into the bank account. * @param amount the amount to deposit */ void deposit(double amount) { // Our real code will go here, but it's just a stub for now. } /** Withdraw money from the bank account. * @param amount the amount to withdraw */ void withdraw(double amount) { // Our real code will go here, but it's just a stub for now. } /** Get the current balance of the bank account. * @return the current balance */ double getBalance() { // Our real code will go here, but it's just a stub for now. return -99.99; } }