0
Help whats my error here
7 Answers
0
//add import
import java.util.concurrent.Semaphore;
+ 2
Paste you complete code i think its not complete becoz in last lines you missed Curly bracket......
+ 1
Error =>Code is truncated...
Save in playground and post link here...
https://www.sololearn.com/post/75089/?ref=app
Edit : where is semaphore class you are referring...? Osazuwa Lawson you should add it...
+ 1
soo where is the Semaphore class ?
0
I've Posted the code link already
0
Thanks zemiak. it worked.. I really appreciate
0
Lol Rei, the Semaphore is mechanism used in threads for making threads access a shared resource simultaneously. It is not a normal class sha