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 exceptions are thrown by RMI?
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
diff mvc1 and mvc2 wahts is mean by servlet chaining?
What is mdb and what is the special feature of that?
what is DGC?
Connection Pooling with different type of databases?
How many requests can a server fetch at a time?
What is Stream Tokenizer?
How are the elements of a cardlayout organized?
What is a sessionfactory? Is it a thread-safe object?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
What do you mean by Socket Programming?