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
How would you create a button with rounded edges?
What is a policy?
What is prototype?
How to implement RMI in Java?
What is Stream Tokenizer?
Why is string immutable in java?
Can I use multiple html form elements with the same name?
What are JTA/JTS and how they used by client?
Explain the different types of memory used by jvm?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
Will the general public have access to the infobus apis?
What is difference between object state and behavior?
how i secure my site with the https protocol.what are the steps?
What are the call back methods in entity bean?
What is the difference between the font and fontmetrics classes?