Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I ' m working on a Java program for one of my classes, and I need to make a movie preference system. The movie recommendation
Im working on a Java program for one of my classes, and I need to make a movie preference system. The movie recommendation software is a program where you input your movie preferences, and it suggests films based on your input. For example, if you input I like movies that feature The Rock, are under hours long, and have good ratings on IMDb, the program will output results tailored to your preferences. I want this code to be simple, nothing too hard. I also want this code to be in Java.
User Name: I want the program to ask for the user's name in the beginning as a GUI. For example, instead of using System.out.print, I want a very simple GUI to display the user's name in the beginning and store it and that will be the only GUI in the code.
Genres: I want the code to display genres. The genres will be action, comedy, animation, romance, and horror. I want the genres to be in a separate method, and the movies for the genres to be in an ArrayList. For the movies, include movies per genre.
Rating: I also want the program to display the rating of the movies on IMDb. For example, if the movie is "Mission Impossible," I want the code to display the rating of each movie.
Runtime: I want the program to display how long each movie is so the user can be more specific. For example, if the user asks for a movie that is action and is hours long, the code should fulfill the user's request and display the movie's runtime.
Actor Preference: I want the program to allow the user to enter which actor they want in the movie. For example, if the user asks for an action movie that is hours long and has Tom Cruise in it the code should allow that.
In the end, I want a very simple code that covers what I said above, and I want the code to be in a constructor class and a tester class, which are separate classes. Overall, I want it to be simple to understand, with no advanced code, and something a Java beginner would codeunderstand You can use arraylist array methods jframeGUI for the name part only scanners and nothing else
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started