Q:

Java ArrayList splitting into two columns

The code below is asking how many names you are about to answer, then tells you to type in all the names you have. I want it so that it will print the names into two columns so that the names are paired together. 
Scanner scan = new Scanner(System.in);
System.out.println("How many names would you like to enter?");
int n = scan.nextInt(); //Ensures you get an integer
System.out.println("Enter the " + n + " names: ");
int N=n+1;
String[] names = new String[N];

//Store the names in an array
for (int i = 0; i < names.length; i++){
    names[i] = scan.nextLine();
}

//Prints the names in a list
List<String> AllNames;
AllNames = new ArrayList<>(Arrays.asList(names));
Random rand = new Random();
Collections.shuffle(AllNames, rand);
System.out.println(AllNames);  

}}

A:

Something like this?
String[] names = {"pete", "ryan", "bob", "cynthia", "ulga", "sarah", "madison"};

for(int i = 0; i < names.length; i = i + 2)
{
    System.out.print(names[i]);
    if(i + 1 < names.length)
    {
        System.out.print("\t" + names[i + 1]);
    }
    System.out.println();
}

Output
pete    ryan
bob     cynthia
ulga    sarah
madison

Output 2
String[] names = {"pete", "ryan", "bob", "cynthia"};

Generates the following
pete    ryan
bob     cynthia

