import java.util.Scanner; public class PhoneBook { public static void main( String[] args) { Scanner in = new Scanner(System.in); System.out.println("How many people do you want in your phonebook: "); int ARRAY_SIZE = Integer.parseInt(in.nextLine().trim()); // Here we name our object PhoneBookEntry book[] = new PhoneBookEntry[ARRAY_SIZE]; // This section of code prompts the user for the names and // phone numbers. int i=0; for (i=0;i