I'm attempting an error check that determines whether all the the elements of an array are integers, i've been stuck for a long time though. any ideas on how to get started would be helpful.
Scanner scan = new Scanner(System.in);
System.out.print("Please list at least one and up to 10 integers: ");
String integers = scan.nextLine();
String[] newArray = integers.split("");