What does the following method print?
import csbsju.cs160.*; public class Q3 { public static void run() { Account a = new Account(); a.deposit(2.0); Account b = new Account(); b.deposit(4.0); Account c = b; b = a; b.deposit(8.0); IO.println(a.getBalance()); IO.println(b.getBalance()); IO.println(c.getBalance()); } }
10.0 10.0 4.0