What are synchronized methods and synchronized statements?
Answer Posted / tarunam verma
Syncronized methods are executed only after a lock is
acheived on the classes or objects specified in the methids
and after that the methids are executed
synchronized statements are the synchronised the bolck
containg the lock on some resource, statment in that block
are called synchronised statements
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is JTS?
Java is fully object oriented languages or not?
Difference between loadclass and class.forname?
Why a component architecture for the java platform?
what is an isolation level?
What modifiers may be used with an inner class that is a member of an outer class?
What is message driven beam?
Name three component subclasses that support painting?
How can I avoid validating a form before data is entered?
Write a program to show synchronization?
What is the infobus?
Name three subclasses of the component class?
Why are some of the class and element names counter-intuitive?
What event results from the clicking of a button?
Can you control when passivation occurs?