Answer Posted / surya simhadri
Synchronization is the process of allowing only one thread
at atime on a shared resource. It is like a monitor on a
shared resource.It can be done either 'Block level'
or 'Method level'. Before enter in to the synchronized area
the thread shold get the lock on the method or block object.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Write code to implement bubble sort in java?
How many bytes is a unicode character?
Name some classes present in java.util.regex package.
What is a marker interface?
What is the order of arraylist in java?
What is unmodifiable collection in java?
How are variables stored?
What is fail fast in java?
Explain scope or life time of local variables in java?
What is static data type in java?
Can long be null in java?
what is the difference between thread and runnable types? : Java thread
Can we declare an array without size in java?
What is the use of put method?
Why Java is not pure Object Oriented language?