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 the internal implementation of set in java?
Are static members inherited to sub classes?
What is a instance variable in java?
Is string an object?
Explain how to force the garbage collection in java.
Why string objects are immutable in java?
Does java allow default arguments?
What are synchronized methods ?
What is hash code collision?
Variables used in a switch statement can be used with which datatypes?
What is the use of default method in interface in java?
difference between byte stream class and character stream class?
How will you load a specific locale?
What is a map? What are the implementations of map?
What is JDBC Driver interface?How can you retrieve data from the ResultSet