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