When you will synchronize your code?
Answers were Sorted based on User's Feedback
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 |
Answer / devarathnam c,kotagudibanda(po
Hi... If your code requires "Thread-safty" ,and to avoiding
deadlocks,when u want maintain dataintegrity.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which javutil classes and interfaces support event handling?
How JNDI is used in JMS ?
What is there in browser that it supports web based applications of java or any other PL?
how to search the pertical objects in a Collections
What are skeletons and stubs and how they are generated?
what is a non-repeatable read?
What happens when we invoke a thread?s interrupt method while it is in sleeping or waiting condition?
java is fully object oriented languages or not? why?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
diff mvc1 and mvc2 wahts is mean by servlet chaining?
How to do registration form using struts and hibernate?
Why do I get a duplicate name error when loading a jar file?