What are synchronized methods and synchronized statements?
Answer Posted / sainaveen
Syncronized methods are executed only after a lock is
acheived on the classes or objects specified in the methids
and after that the methids are executed
Synchronized methods are executed after lock is acieved on
class or object specified in the synchronized statement
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is message driven beam?
What are various types of class loaders used by jvm?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
What is glasgow?
What is Remote Server?
What is a policy?
What are the benefits of detached objects?
Name the eight primitive java types.
What class is the top of the awt event hierarchy?
What is meant by method chaining?
Which component handles cluster communication in jboss?
What are callback interfaces?
Why use a datasource when you can directly specify a connection details?
What is the highest-level event class of the event-delegation model?
how i secure my site with the https protocol.what are the steps?