28 lines
521 B
Java
Raw Normal View History

2021-02-03 16:04:53 -05:00
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<HomeBuyer> preApprovedBuyers;
cu.inputBuyer(scnr);
System.out.println("Mortgage Pre-Approved's list:");
preApprovedBuyers = cu.getPreApprovedList();
for (HomeBuyer buyer:preApprovedBuyers){
System.out.println(buyer.toString());
}
}
}