When you will synchronize your code?

Answer Posted / ranganathkini

synchronize is used on objects that will be used by
multiple threads to provide thread safety. It is used so
that concurrent threads get valid access to data to perform
their actions

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?

1920


What do you know about seam?

596


Explain about local interfaces.

579


wahts is mean by dynavalidatorform in struts/

1567


Do we need to override service() method

1137






which book is better for jdbc ,servlets and jsp

1644


What is threadfactory?

610


How a component can be placed on Windows?

2264


What are the different approaches to represent an inheritance hierarchy?

582


What is the form of storage space in java?

1735


Will the general public have access to the infobus apis?

526


Can I have an action without a form?

591


Which class is the immediate superclass of the menucomponent class?

619


What is synchronization and why is it important?

541


What do you mean by Socket Programming?

545