import java.util.ArrayList; /** A bank account for a customer - final version */ public class BAccount implements IJudger { private String owner; private double balance; private static double minGoodBalance = 1000.00; /** Creates a new instance of BAccount */ public BAccount(String ownerName, double initialBalance) { this.owner = ownerName; this.balance = initialBalance; } public boolean isGoodCustomer() { if (this.balance > minGoodBalance) { return true; } else { return false; } } public boolean isAcceptable() { return isGoodCustomer(); } public static ArrayList goodCustomersOnly(ArrayList all) { return GoodVsBadFilter.getGoodOnesOnly(all); } //end class }