public class Test {
public static void main(String[] args) {
Account a, b;
a = new Account(“Justin”, 5);
b = new Account(“Justin”, 5);
if (a.equals(b)) {
System.out.println(a);
} else {
System.out.println(“not equals”);
}
}
}