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
what is collatration?
What is the purpose of void class?
How do you pass by reference?
Differentiate between a class and an object.
Explain different ways of creating a thread. Which one would you prefer and why?
What are drawbacks of singleton class?
What is the difference between scrollbar and scrollpane?
What does a boolean method return?
What is the latest version of java?
What is the difference between a factory and abstract factory pattern?
What are the differences between include directive and include action?
Which package has light weight components in java programming?
Why can't you declare a class as protected?
Can a class have multiple subclasses?
What is exception propagation?