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
Explain importance of throws keyword in java?
Can we sort array in java?
How do you represent a space in regex java?
What do you mean by data type?
How many types of gc are there in java?
Where are global variables stored?
What do you understand by the bean persistent property?
How do you create a bulleted list?
What is difference between static and abstract class?
What is integers and example?
What is intern method in java?
Which sort is best in java?
How do you use nextline in java?
Can we have any other return type than void for main method?
Why we do exception handling in java and how many types of exceptions are there?