/**
* Create a a Theatre class that contains name and ArrayList of seats as fields
* For that you need to create a Seat class with seatNumber, price and reserved as fields
*
* The Theatre class constructor need numberOfRows and seatsPerRow beside the name as parameters
* Find a way to fill the Theatre with seats of 8 rows and 12 seats per row
* The seats name must be A01, A02, A03, ..., H12 as 'A' is the row and '01' as the seat number
*
* The front seats as A01, A02 ... are more expensive than the others seats
*
* Create method that makes you reserve a seat
* Create a method that makes you cancel seat reservation
*
* Bonus:
* Sort the Theatre seats by price
* */
-
Notifications
You must be signed in to change notification settings - Fork 0
Adhouma/Comparable-VS-Comparator-challenge
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Java Comparable VS Comparator challenge
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published