Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Anthony
*/
public class BankAccountDriver {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// Declarations
BankAccount MatthewsAccount = new BankAccount(1000.00);
BankAccount MichaelsAccount = new BankAccount(1000.00);
BankAccount BriansAccount = new BankAccount(1000.00);
BankAccount KalemsAccount = new BankAccount(1000.00);
BankAccount AnthonysAccount = new BankAccount(1000.00);
BankAccount ThomasAccount = new BankAccount(1000.00);
double depositAmount = 100.00;
System.out.println("Account balance: " + MatthewsAccount.getBalance());
for (int i = 0; i <= 6; i++) {
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.