static void a1()
{
int choice;
Scanner sc1 = new Scanner(System.in);
System.out.println();
System.out.print("Enter Part#: ");
pa[count] = sc1.nextLine();
System.out.println();
System.out.print("Enter Make: ");
ma[count] = sc1.nextLine();
System.out.println();
System.out.print("Enter description: ");
so[count] = sc1.nextLine();
System.out.println();
System.out.print("Enter price: ");
pr[count] = sc1.nextLine();
++count;
}
How do I get the user to input either only numbers or letters from A-Z?