class Main {
public static void main(String[] args) {
String[] firstNames = {"Adam","Alexis","Dennis","Jose","Jessica","Meghan","Memphis","Nicky","Sarah","William"};
String[] lastNames = {"Adamson","Bond","Brown","Johnson","Gallagher","Smith","Thompson","Perez","Snow","Tran"};
for(int firstNameIndex=0;firstNameIndex<firstNames.length;firstNameIndex++){
String currentFirstName = firstNames[firstNameIndex];
for(int lastNameIndex=0; lastNameIndex<lastNames.length;lastNameIndex++){
String currentLastName = lastNames[lastNameIndex];
System.out.println(currentFirstName+ " " +currentLastName); //prints every combination
}
}
}
}