// Tyler Rigsby, CSE 142 // Contains sample client code for the BankAccount object public class Bank { public static void main(String[] args) { BankAccount stephanieAcct = new BankAccount(42, "Stephanie", 1000000); // stephanieAcct.deposit(-2000000); <-- won't do anything because we've properly encapsulated our object System.out.println("Stephanie has $" + stephanieAcct.getBalance()); System.out.println(stephanieAcct); } }