What is synchronization?

Answer Posted / mahipal reddy.kaitha

 Synchronized keyword can be applied to methods or
parts of the methods only.
 Synchronize keyword is used to control the access
to critical code in multi-threaded programming.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

794


What is RMI and what are the services in RMI?

817


What is the infobus?

804


what is meant by JRMP?

1996


Why does the tag url-encode javascript and mailto links?

773






What is the difference between a menuitem and a checkboxmenuitem?

745


Which component handles cluster communication in jboss?

822


What is the difference between RMI registry and OS Agent?

853


What are the different types of exception?

770


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

760


Is it possible to stop the execution of a method before completion in a sessionbean?

805


Explain the steps in details to load the server object dynamically?

4761


What is Stream Tokenizer?

1936


Can I import same package/class twice? Will the jvm load the package twice at runtime?

840


What do you mean by Socket Programming?

754