Restaurant (part 23)

  • 9
  • Locked
That's it! You can make it beautiful on your own. For example: 1. Threads usually use the ThreadLocalRandom class instead of Random. Refactor the code: replace Random with ThreadLocalRandom. 2. Make Waiter a task so that it works like a thread (remove Observer). Make a queue of prepared orders.
You can't complete this task, because you're not signed in.
Comments
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet