Intermediate · Java for programmers
Records, interfaces and exceptions
The help desk's model, in Java: a ticket as a record that checks itself; the desk's tickets, callbacks and advisers' free times, with its refusals as checked exceptions; the tools a model calls, each reading its arguments from JSON into a record; a review of an assistant's schedule; and a problem details object for every error.
- You build
- Ticket.java, then Desk.java, then Tools.java, then Schedule.java, then Problems.java
- Stages
- 3 Build, 1 Catch, 1 Ship
- Time
- About 3.5 hours
- Runs on
- Your machine
Loading the workspace…
Loading the workspace…