I am having a little problem getting the data out of my array. It's probably something simple that I am missing but here is my code.
public class Search Sort {
static Scanner cons = new Scanner(System.in);
public static void main(String[] args) {
String[] mov = new String[3];
for(int i = 0;i < mov.length;i++){
System.out.println("please Enter the name of the Movie");
mov[i] = cons.nextLine();
}
}
}
I want it to take all 3 movies in and then output them in list order so I can sort and then search through them. Help?