What are synchronized methods and synchronized statements?
Answers were Sorted based on User's Feedback
Answer / tarunam verma
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 statements are the synchronised the bolck
containg the lock on some resource, statment in that block
are called synchronised statements
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
What is threadfactory?
What is the relation between the infobus and rmi?
what is Activation Instantinator?
What is in-memory replication?
i want documentation of text file splitter & merger of advanced java
What is meant by method chaining?
What is a modular application?
What is the difference between a menuitem and a checkboxmenuitem?
can a static method be overridden
Why are component architectures useful?
What’s jboss jbpm?
Define the remote interface?