0% found this document useful (0 votes)
40 views1 page

Project Assignment

This Java project allows users to manage a movie theater using six classes: Main, Venue, Theater, Seat, Movie, and Showtime. The Main class acts as the user interface and interacts with the other classes. The Theater class represents a movie theater with lists of movies and showtimes as well as a seating chart. The Seat, Movie, and Showtime classes each represent an individual seat, movie, and showing with relevant attributes. The Venue class acts as a base for the Theater class.

Uploaded by

M Abdullah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views1 page

Project Assignment

This Java project allows users to manage a movie theater using six classes: Main, Venue, Theater, Seat, Movie, and Showtime. The Main class acts as the user interface and interacts with the other classes. The Theater class represents a movie theater with lists of movies and showtimes as well as a seating chart. The Seat, Movie, and Showtime classes each represent an individual seat, movie, and showing with relevant attributes. The Venue class acts as a base for the Theater class.

Uploaded by

M Abdullah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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