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 |
What is waiting state? In what ways a thread can enter into waiting state?
How can I avoid validating a form before data is entered?
What is Stream Tokenizer?
whats is mean by tiles in struts
Define the remote object implementation?
What is an abstract method?
Can you give me a simple example of using the requiredif validator rule?
difference between Abstract and Interface?
What is RRL?
Which containers use a border layout as their default layout?
diff mvc1 and mvc2 wahts is mean by servlet chaining?
How do you maintain a stateful session object across the session