/** A bank account has a balance that can be changed by deposits and withdrawals. */ public class BankAccount { // private instance variables—filled in later /** Constructs a bank account with a zero balance. */ public BankAccount() { // implementation—filled in later } /** Constructs a bank account with a given balance. @param initialBalance the initial balance */ public BankAccount(double initialBalance) { // implementation—filled in later } /** Deposits money into the bank account. @param amount the amount to deposit */ public void deposit(double amount) { // implementation—filled in later } /** Withdraws money from the bank account. @param amount the amount to withdraw */ public void withdraw(double amount) { // implementation—filled in later } /** Gets the current balance of the bank account. @return the current balance */ public double getBalance() { // implementation—filled in later return 0; } }