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
How messaging services are done, before release of JMS?
What is scalable, portability in the view of J2EE?
What event results from the clicking of a button?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
What does module-relative mean?
How to deploy Jar, War files in J2EE?
How can I avoid validating a form before data is entered?
What is Remote Server?
What is the difference between RMI registry and OS Agent?
What is the difference between ear, jar and war file?
What is synchronization and why is it important?
What is chat area? Explain.
wahts is mean by dynavalidatorform in struts/
What is a tasks priority and how is it used in scheduling?
What is a modular application? What does module-relative mean?