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
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
What is a clone?
Write a singleton program?
What’s jboss cache in short?
What classes of exceptions may be caught by a catch clause?
whats is mean by connectionpooling
Name the class that is used to bind the server object with RMI Registry?
What is local interface. How values will be passed?
Java is fully object oriented languages or not?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
Explain the steps in details to load the server object dynamically?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
What does module-relative mean?
What is a modular application? What does module-relative mean?
Which container method is used to cause a container to be laid out and redisplayed?