Skip to content

Parking Lot Exercise, Java, Concurrent Programming

Hello,

This is a problem of Concurrent Programming that I solved in a test:

The parking lot have 30 spots. Since the parking lot have spots, it doesn’t have priority. When it is full, starts to make a line. Professors have the highest priority, Employees have the Medium priority, and then it comes the students. Use Java to simulate 10 Professors, 15 employees, 30 students.

Concurrent Programming, Parking lot – JAVA

Matheus

Published injavaProgramação Concorrente

810 Comments

  1. First of all I want to say awesome blog! I had a quick question which I’d like to ask if you don’t mind. I was interested to know how you center yourself and clear your mind prior to writing. I have had trouble clearing my mind in getting my ideas out there. I do take pleasure in writing but it just seems like the first 10 to 15 minutes are generally lost simply just trying to figure out how to begin. Any ideas or tips? Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *