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 restrictions are placed on the values of each case of a switch statement?
What is the form of storage space in java?
how do you Handle Front End Application data against DB with example?
How are the elements of a borderlayout organized?
Why doesn’t the focus feature on the tag work in every circumstance?
difference between ejb,struts,hibernate,spring and jsp
What is the difference between a menuitem and a checkboxmenuitem?
Which javutil classes and interfaces support event handling?
What are the types of scaling?
What is message driven beam?
Is infobus easy to use?
Describe responsibilities of Activator?
why static class in java
To identify IDL language what mapping mechanism is used?
how i secure my site with the https protocol.what are the steps?