Please review my FindMovie and AddMovie methods.public static boolean FindMovie(String movietofind, String[] ArrayMovie) {    movie Movieobject = new movie();    for (String ArrayMovie1 : ArrayMovie) {        if (ArrayMovie1.equals(movietofind)) {            return true;        }    }    return false;}public static void AddMovie(int i, String[] ArrayMovie, String[] UserRating, int[] UserReview) {    int addmovie, userrating;    boolean Movie1;    String MPAA;    Scanner console = new Scanner(System.in);    System.out.println(Please give me the name of the movie you want to add.);    String Movie = console.next();    Movie1 = FindMovie(Movie, ArrayMovie);    if (Movie1 = false) {        System.out.println(Do you want to add this movie to the collection? Please select 1 for Yes or 2 for No);        addmovie = console.nextInt();        if (addmovie == 1) {            ArrayMovie[i] = Movie;            System.out.println(What is the type of MPAA rating of the movie?);            System.out.println(Please enter G, PG, PG13, or R);            MPAA = console.next();            UserRating[i] = MPAA;            System.out.println(What is your rating for movie?);            System.out.print(please choose 1, 2, 3, 4, or 5);            userrating = console.nextInt();            UserReview[i] = userrating;        } else if (addmovie == 2) {        }    }}
A menu option that receives input from users and then performs actions
java;array