SCOOP Software Interview Question

What does 'synchronized(someObject)' mean in a code snippet

Interview Answers

Anonymous

Aug 16, 2018

synchronized makes sure, that the current Thread holds the mutex for someObject before it can enter the following code block.

Anonymous

Jul 9, 2020

i think they want a people who know concurrent... i know, i've applied for the job, and still waiting for a response. wish to work together with ur guys!!