Problem Statement : Show Booking System

Problem Statement : Show Booking System

Yashwant Rao Chavan Auditorium has few stage shows running currently. Now that we have the details of the shows that are currently running, we will book our tickets using following method. The parameters that we are supposed to send to send to this method are :

  1. List<Show>showList - List of all the shows running.
  2. String showName- Name of the show that you are intrested in.
  3. String show_time- Start time of the show you are intrested in.
  4. int noOfSeats - Number of seats you want to book. It should be greater than zero otherwise exception should be thrown.

Method that you should implement for this: void bookShow(List<Show>showList,String showName,String show_time,int noOfSeats)throws SeatsNotAvailableException, UnknownShowException,InvalidSeatNumberException;

Classes provided to you : Same as above, SeatsNoAvailableException.java, UnknownShowException.java, InvalidSeatNumberException.java

Note : Please do not change the method signature.

View Answers

Ads









Related Tutorials/Questions & Answers:
Problem Statement : Show Booking System
Problem Statement : Show Booking System  Yashwant Rao Chavan Auditorium has few stage shows running currently. Initialize the Show data by de-serializing a serialized file provided in the Participant_Workspace of the project
Problem Statement : Show Booking System
Problem Statement : Show Booking System  Yashwant Rao Chavan... of the show that you are intrested in. String show_time- Start time of the show you...,String showName,String show_time,int noOfSeats)throws
Advertisements
Please tel me .In my System Oracle9i and J2sdk1.6 are Installed.Why this problem occures and what is the solution?
Please tel me .In my System Oracle9i and J2sdk1.6 are Installed.Why this problem occures and what is the solution?  Exception in thread "main" java.lang.UnsupportedClassVersionError: select (Unsupporte d major.minor version 50.0
booking ticket cinema
booking ticket cinema  coding for booking ticket cinema in java
booking ticket cinema
booking ticket cinema  coding for booking ticket cinema in java
booking ticket cinema in java
booking ticket cinema in java  coding for booking ticket cinema in java
booking ticket cinema
booking ticket cinema  example of coding for booking ticket cinema
System
System  What is System in System.out.println() method? Is it a Class or a Package
ModuleNotFoundError: No module named 'booking_core'
ModuleNotFoundError: No module named 'booking_core'  Hi, My Python... 'booking_core' How to remove the ModuleNotFoundError: No module named 'booking_core' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'booking-models'
ModuleNotFoundError: No module named 'booking-models'  Hi, My... named 'booking-models' How to remove the ModuleNotFoundError: No module named 'booking-models' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'django-booking'
ModuleNotFoundError: No module named 'django-booking'  Hi, My... named 'django-booking' How to remove the ModuleNotFoundError: No module named 'django-booking' error? Thanks   Hi, In your python
bus travel booking
"> <form name="booking"> <h1>BOOK
example to booking ticket cinema using array
example to booking ticket cinema using array   example to booking ticket cinema using array
book system
book system  i have a problem here..how can i make a system for borrowing books, which include members or non members category, books category, rent category, return category and buy category
ModuleNotFoundError: No module named 'booking-sites-parser'
ModuleNotFoundError: No module named 'booking-sites-parser'  Hi...: No module named 'booking-sites-parser' How to remove the ModuleNotFoundError: No module named 'booking-sites-parser' error? Thanks   Hi
ModuleNotFoundError: No module named 'kiwi-booking-plexus-chunker'
ModuleNotFoundError: No module named 'kiwi-booking-plexus-chunker'  ...: No module named 'kiwi-booking-plexus-chunker' How to remove the ModuleNotFoundError: No module named 'kiwi-booking-plexus-chunker' error? Thanks
ModuleNotFoundError: No module named 'kiwi-booking-plexus-entities'
ModuleNotFoundError: No module named 'kiwi-booking-plexus-entities'  ...: No module named 'kiwi-booking-plexus-entities' How to remove the ModuleNotFoundError: No module named 'kiwi-booking-plexus-entities' error
Online Cab Booking using Java (Struts2+Hibernate)
Online Cab Booking using Java (Struts2+Hibernate)  hi anyone send me the online cab booking(cab booking and canceling)using java+Struts2 its for my interview can u send as soon as possible.. thank u :) Surya
Cricket stadium ticket booking design
Cricket stadium ticket booking design  How can I design a pictorial representation for the booked and available seats in the stadium showing graphically the booked tickets as of red color and available ticket as green color
problem in onlinetest...
problem in onlinetest...  hi, my code getting the problem is ,when user leave a question then the server puts error... pls help me
PROBLEM IN EXECUTION
PROBLEM IN EXECUTION  class R { private int x; private int y; void getdata(int x1,int x2) { x=x1; y=y1... IS SHOWING 6 ERRORS 1.PACKAGE SYSTEM DOES NOT EXIT 2.X HAS PRIVATE ACCESS IN R 3.Y HAS
system ordering food
system ordering food  a developer want to develop a simple take away restaurant order service using java.The system read from a file containing information about the restaurants(such as the name,place and menu).The system
javascript problem
javascript problem  hi guys My problem is that I am using radio button for yes or no but i want to do that if I press yes button then enter... enter please help me this problem
problem on strings
problem on strings  in string1 "123456 ABC DEF...",IN string2 "raveen". iwant to add string2 after 123456 in the first string based on index number.i need logic for this with out using StringBuffer concept. Thanks in advanace
Problem with loginbean.jsp
Problem with loginbean.jsp  http://www.roseindia.net/jsp/loginbean.shtml - I am getting an error in loginbean.jsp.There is some error regarding .What is hello in this? Also in this example how
compilation problem
compilation problem  struts 2.0 : i have included all 5 jars in lib folder,but its giving compilation problem that package open symphony doesnot... havenot set the build path.if this is the problem then tell me how to set
compilation problem
compilation problem  struts 2.0 : i have included all 5 jars in lib folder,but its giving compilation problem that package open symphony doesnot... havenot set the build path.if this is the problem then tell me how to set
Problem with cookies
Problem with cookies  Hello All, i need jsp code for RememberMe module of login. i am facing problem with cookies. so please if any one could guide me please help and provide mme the exact code.   Please visit
problem with package
problem with package  Dear sir, i have created one java file with package com.net; and i compiled the program.it showing the .class file in " net" folder.The problem is i want to use that .class file in some other
Oracle9i Problem
Oracle9i Problem  Hi I have a problem in Oracle9i .I have... the table what i created .But after closing the SQL+ ,the problem started.When i... .....;.it is saying no rows are selected.Why the problem arised in not getting the data that i
problem with session.invalidate()
problem with session.invalidate()  i stuck by a line with "session.invalidate()", after user logout also by pressing the back button of the browser user is still able to navigate to his home page and able to view the session

Ads