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 to deploy Jar, War files in J2EE?
What is the map interface?
What do you mean by Socket Programming?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
What is the argument type of a programs main() method?
what is handle?
what is a non-repeatable read?
What restrictions are placed on the location of a package statement within a source code file?
How are commas used in the intialization and iteration parts of a for statement?
Why do I get a duplicate name error when loading a jar file?
the same information whether it will connect to the database or it will be used previous information?
whats is mean by connectionpooling
Explain RMI Architecture?
Difference between new operator and class.forname().newinstance()?
How database connectivity in XML is achieved?