You are on page 1of 1

This is a Java project that allows the user to manage a movie theater.

The project consists of


four classes: Main, Venue, Theater, Seat,Movie, and Showtime.

The Main class contains the main method and is responsible for the user interface and
interaction. It presents a menu with various options, such as adding and removing movies and
showtimes, buying tickets, and viewing movie and seating information. The Main class also
uses The Movie Database (TMDB) API to fetch movie details and populate the Movie
objects.

The Theater class represents a movie theater. It has several attributes, including a list of
Movie objects, a list of Showtime objects, and a two-dimensional array of Seat objects. The
Theater class has several methods that allow the user to add, remove, and view movies,
showtimes, and seating information. It also has methods that allow the user to buy tickets and
find movies and showtimes by title, time, and date.

The Seat class represents a seat in a movie theater. It has several attributes, including the
seat's row and column number, and a boolean indicating whether the seat is available or not.
The Seat class has several getter and setter methods that allow the user to access and modify
these attributes.

The Movie class represents a movie. It has several attributes, including the movie's title,
release year, director, duration, and genre. The Movie class has several getter and setter
methods that allow the user to access and modify these attributes.

The Showtime class represents a showtime for a movie in a movie theater. It has several
attributes, including the Movie object for the movie, the showtime's time and date, and the
ticket price. The Showtime class has several getter and setter methods that allow the user to
access and modify these attributes.

The Venue class is a simple class that represents a venue such as a theater, stadium, or arena.
It has name and location attributes and corresponding get and set methods. It is intended to be
used as a base class that other classes such as Theater can extend to inherit its attributes and
methods.

Please provide a class diagram for all the classes and represent the relationships among the
classes

You might also like