Cinema Ticket booking system : Create a Java Application to book a ticket in a Cinema hall. Create appropriate class to represent a Ticket and User. Use 2-D arrays to store the seats of the hall. Definition of done: The System should ask user to enter Username and Password. X, The system should give option of different available movies. After selecting a movie give option of different seats available. A user should be able to book or cancel a ticket. Store the information in text file. Code for this Project import java.util.Scanner; import java.io.* ; class Bookticket { static String seating[][] = { { "A1", "A2","A3","A4" }, { "B1", "B2","B3","B4" },{"C1","C2","C3","C4" },{"D1","D2","D3","D4"}}; static int I,J; static String z; public void PrintAvaliable() { try ...
Comments
Post a Comment