28 lines
521 B
Java
28 lines
521 B
Java
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());
|
|
}
|
|
|
|
}
|
|
}
|