Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 819 Bytes

README.md

File metadata and controls

16 lines (16 loc) · 819 Bytes

TO-DO

Create 2 Java classes -“Ticket” and “TicketService” The “Ticket" class should have the following variables:
  • ID (max 4 digits and/or chars)
  • concert hall (max 10 chars)
  • event code (3 digits)
  • time (Unix timestamp)
  • is promo
  • stadium sector (from ‘A’ to ‘C’)
  • max allowed backpack weight in kg (with grams precision)
  • < Choose the [name] [data type], [access modifier] and [variable type] carefully, depending on a [variable] purpose. There should be the ability to create a Ticket instance with all parameters initialised and also a limited one - [concert hall], [event code] and [time].

    backlog: getters, setters, testing