Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTION:- Write the java program for the online movie ticket booking system based on the above-mentioned class diagram including all the classes and the respective
QUESTION:- Write the java program for the online movie ticket booking system based on the above-mentioned class diagram including all the classes and the respective functions mentioned in each class by using all the OOPS concepts like abstract class, interface, inheritance, constructors, accessor/mutators ,overriding ,overloading, polymorphism, array concepts, Enum. (Minimum 400 lines of code.)
UN+get_id(): int UNDE STERED show_details seat_details ED UNREGISTERED UNREGISTER movie_details UNE +movie_id: int STERED +show_id +show_name: string EDW+seat_row: char ED UNREGISTERED UNREGISTEI +seat num: int UN +movie name: string STEREDshow_status: String 1 1..* +seat_class: char +movie_language: string +show_date: int ED UNREGISTERED UNREGISTER UN +movie_length: float STERE+addshows +getseat ED Faddseat ED UNREGISTERED UNREGISTEI +movie_type: string +editseato DIN + searchmovie d+editshows 1.* +deleteshows ED + deleteseato ED UNREGISTERED UNREGISTER LIN+add movie +deletemovie 1 +show_details(id: int, name: string, status: string, date: int) PERED ED UNREGISTERED UNREGISTER +set_id(movie_id: int) UN+set_name(movie_name: string) STERED UNREGISTERED UNISTERED UNRE TERED UNREGISTERED UNREGISTE! +set_language(movie_language: string) UN +set_length(movie_length: float) STERED UNREGISTERED UNRESTE user_details RED UNREGISTERED UNREGISTE +set typemovie_type: string) STERED UNREGISTERED UNRECO+user_id: int RED UNREGI food details +get_name(): string +user_name: string UN+get_language(): string STERED UNREGISTERED UNREGIS 1. +user_phno: int RED UNREG titem_id: int +user address: string +item_name: string +get_length: float WIN+get_type(): string STERED UNREGISTERED UNREGISTEY+user_email: string RED UNRECtitem_quantity: int +user_customerpwd: string +Item_price: float UNREGISTER LO UNREGISTERED DE NREGISTE feedback details RED UNREC+set_id[item_id: int) +user_login UNREGISTER +set_name(item_id: string) +updates GISTERED RED UNDE+set_quantity(item_id: int) +rating: int REGISTE +user_logout +viewmovies UNREGISTER 1 UNREGISTERED +complaint: string +set_price(item_id: float) #gires feedback +bookticketo +makepaymento K+orders +set_rating(rating: int) SEC+get_ido:int +get_name(): string ERED admin_details +Cancelticket +set_complaint(complaint: string) 1 EGIS 1 +set_id [id:int) PEDUINREG+get_quantityo: int +get_rating0: int admin_name: string 1.. +get complainto: string +set_name(id: string) +get_price(): float admin_id: int RED UNREG +recieve_feedbacko: void +set_phnocid: int) admin_password: int +recieves_feedback NREGISTE +set_address(id: string) +set_email(id: string) RED UNREGISTERED UNREGISTER #addmovierecords +update movierecordo ERED UN GISTERED UNREGIS 1 +set_customerpwd(id: string)PED UNREGISTERED UNREGISTER +get_ido: int +deletemovierecordo +show_details(name: string, id:int, password: int) +get name: string TERED UNREGISTERED UNREGI +get_phno(): int RED UNREGISTERED UNREGISTER TERED UNREGISTERED UNREZE+get_address(): string +get_email: string RED UNREGISTERED UNREGISTER LININES EDIUINIRE TERED UNREGISTERED UNF Abook E+get_customerpwi): stringED UNREGISTERED UNREGISTER UNREG +confirms registration manages UNREGISTERED USEGISTERED UN 1 +make payment men UNREGISTERED UNREGISTER UNREGISTED TE UNREGISTERED REGISTERED UNR 1 ISTERED UNREGISTERED UNREGISTEI 0..* UNREGISTE DUNREGISTERE 14 booking details INREGISTERED payment_details DUNREGISTERED UNREGISTER UINE nonuser_details STEREO +booking_id:int +booking_type: string NREGISTERED payment_id: int +payment amount: float D UNREGISTERED UNREGISTEI +nonuser_name: int UN HISTERED +booking_date: int INDECISINE +payment customer_id: int +booking status: String +getregisteredo UNREGISTERED UNREGISTER 1 +payment_date: int WINE +riewmovies0 +booking time: int GISTERED +set_nonuser_name(name: string) REGISTERED +payment_status: string UNREGISTERED UNREGISTER +addbooking + cancelpaymento UN+get_nonuser_named): string GISTERED +editbooking NREGISTERED + searchpayment UNREGISTERED UNREGISTER +deletebooking UNREGISTERED UNREGISTERED +searchbooking NREGISTERED UNREGISTERED UNREGISTERED UNREGISTER UNREGISTERED UNREGISTERED UNREGISTERED UNREGISTERED UNREGISTERED UNREGISTERED UNREGISTER 1 1 1 UN+get_id(): int UNDE STERED show_details seat_details ED UNREGISTERED UNREGISTER movie_details UNE +movie_id: int STERED +show_id +show_name: string EDW+seat_row: char ED UNREGISTERED UNREGISTEI +seat num: int UN +movie name: string STEREDshow_status: String 1 1..* +seat_class: char +movie_language: string +show_date: int ED UNREGISTERED UNREGISTER UN +movie_length: float STERE+addshows +getseat ED Faddseat ED UNREGISTERED UNREGISTEI +movie_type: string +editseato DIN + searchmovie d+editshows 1.* +deleteshows ED + deleteseato ED UNREGISTERED UNREGISTER LIN+add movie +deletemovie 1 +show_details(id: int, name: string, status: string, date: int) PERED ED UNREGISTERED UNREGISTER +set_id(movie_id: int) UN+set_name(movie_name: string) STERED UNREGISTERED UNISTERED UNRE TERED UNREGISTERED UNREGISTE! +set_language(movie_language: string) UN +set_length(movie_length: float) STERED UNREGISTERED UNRESTE user_details RED UNREGISTERED UNREGISTE +set typemovie_type: string) STERED UNREGISTERED UNRECO+user_id: int RED UNREGI food details +get_name(): string +user_name: string UN+get_language(): string STERED UNREGISTERED UNREGIS 1. +user_phno: int RED UNREG titem_id: int +user address: string +item_name: string +get_length: float WIN+get_type(): string STERED UNREGISTERED UNREGISTEY+user_email: string RED UNRECtitem_quantity: int +user_customerpwd: string +Item_price: float UNREGISTER LO UNREGISTERED DE NREGISTE feedback details RED UNREC+set_id[item_id: int) +user_login UNREGISTER +set_name(item_id: string) +updates GISTERED RED UNDE+set_quantity(item_id: int) +rating: int REGISTE +user_logout +viewmovies UNREGISTER 1 UNREGISTERED +complaint: string +set_price(item_id: float) #gires feedback +bookticketo +makepaymento K+orders +set_rating(rating: int) SEC+get_ido:int +get_name(): string ERED admin_details +Cancelticket +set_complaint(complaint: string) 1 EGIS 1 +set_id [id:int) PEDUINREG+get_quantityo: int +get_rating0: int admin_name: string 1.. +get complainto: string +set_name(id: string) +get_price(): float admin_id: int RED UNREG +recieve_feedbacko: void +set_phnocid: int) admin_password: int +recieves_feedback NREGISTE +set_address(id: string) +set_email(id: string) RED UNREGISTERED UNREGISTER #addmovierecords +update movierecordo ERED UN GISTERED UNREGIS 1 +set_customerpwd(id: string)PED UNREGISTERED UNREGISTER +get_ido: int +deletemovierecordo +show_details(name: string, id:int, password: int) +get name: string TERED UNREGISTERED UNREGI +get_phno(): int RED UNREGISTERED UNREGISTER TERED UNREGISTERED UNREZE+get_address(): string +get_email: string RED UNREGISTERED UNREGISTER LININES EDIUINIRE TERED UNREGISTERED UNF Abook E+get_customerpwi): stringED UNREGISTERED UNREGISTER UNREG +confirms registration manages UNREGISTERED USEGISTERED UN 1 +make payment men UNREGISTERED UNREGISTER UNREGISTED TE UNREGISTERED REGISTERED UNR 1 ISTERED UNREGISTERED UNREGISTEI 0..* UNREGISTE DUNREGISTERE 14 booking details INREGISTERED payment_details DUNREGISTERED UNREGISTER UINE nonuser_details STEREO +booking_id:int +booking_type: string NREGISTERED payment_id: int +payment amount: float D UNREGISTERED UNREGISTEI +nonuser_name: int UN HISTERED +booking_date: int INDECISINE +payment customer_id: int +booking status: String +getregisteredo UNREGISTERED UNREGISTER 1 +payment_date: int WINE +riewmovies0 +booking time: int GISTERED +set_nonuser_name(name: string) REGISTERED +payment_status: string UNREGISTERED UNREGISTER +addbooking + cancelpaymento UN+get_nonuser_named): string GISTERED +editbooking NREGISTERED + searchpayment UNREGISTERED UNREGISTER +deletebooking UNREGISTERED UNREGISTERED +searchbooking NREGISTERED UNREGISTERED UNREGISTERED UNREGISTER UNREGISTERED UNREGISTERED UNREGISTERED UNREGISTERED UNREGISTERED UNREGISTERED UNREGISTER 1 1 1Step 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