Drag and drop appropriate fragments to the given slots, so that produces a unique output at every times.
Dmitry Zhuravlev wrote:both threads aquire s1 lock. why can we state that s1 thread will get it first?
Dmitry Zhuravlev wrote:....but about the misprint: IllegalThreadSATEException.
Dmitry Zhuravlev wrote:I have scored only 48% on Final Exam... One of the reasons - to little time... last 10 or 15 questions I was in a great hurry and no time for going back to skipped questions
Dmitry Zhuravlev wrote:Anyway, here is a question: why cant I use the 'private' modifier instead of 'static' word in the enum declaration? If I can, then my answer is correct, but it can be considered incorrect by the test.