import java.util.*; interface MoneyAccount { /* *This interface models a protocol for things can have money deposited and withdrawn *it also provides a query method to get the balance of the money account */ //Interface MoneyAccount Methods //=============================== public void deposit(double anAmount); //deposit anAmount into the MoneyAccount public void withdraw(double anAmount); //withdraw anAmount from the MoneyAccount public double getAccountBalance(); //answer the balance of the MoneyAccount }