import java.util.Scanner; import java.util.ArrayList; public class LabProgram{ public static void main(String[] args) { Scanner scnr = new Scanner(System.in); CreditUnion cu = new CreditUnion(); String fName; String lName; int creditRating; ArrayList preApprovedBuyers; cu.inputBuyer(scnr); System.out.println("Mortgage Pre-Approved's list:"); preApprovedBuyers = cu.getPreApprovedList(); for (HomeBuyer buyer:preApprovedBuyers){ System.out.println(buyer.toString()); } } }