When you will synchronize your code?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain phantom read?

1733


How primary key is implemented in Oracle?

1909


Explain the advantages and disadvantages of detached objects.

568


If your ui seems to freeze periodically, what might be a likely reason?

540


Write a program to show synchronization?

686






How many times may an objects finalize() method be invoked by the garbage collector?

668


What event results from the clicking of a button?

691


What is a clone?

571


Define prototype?

578


What is threadfactory?

606


What is a modular application?

581


Why are component architectures useful?

566


What is the argument type of a programs main() method?

557


What is a sessionfactory? Is it a thread-safe object?

670


How to pass parameters in RMI?

1684