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
cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
What class is used to create Server side object ?
what is the use of State Factories?
What are the sequence of steps to write pub or sub model kind of application?
What modifiers may be used with an inner class that is a member of an outer class?
For which statements does it make sense to use a label?
Why are some of the class and element names counter-intuitive?
Where can I ask questions and make suggestions about seam?
Why are my checkboxes not being set from on to off?
Define aop(assepct oriented programing)?
What do you know about seam?
What are the different algorithms used for clustering?
what are memory considerations of jsp compares to other web components?
What is the infobus?