What are synchronized methods and synchronized statements?
Answer Posted / 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 |
Post New Answer View All Answers
Which class is the immediate superclass of the menucomponent class?
what is Activation Instantinator?
What is the argument type of a programs main() method?
what are the advantages of JTA over JTS?
Name three subclasses of the component class?
What is the RMI and Socket?
which book is better for jdbc ,servlets and jsp
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
What value does readline() return when it has reached the end of a file?
What is the difference between the string and stringbuffer classes?
What value does read() return when it has reached the end of a file?
what is meant by JRMP?
What are the design considerations while making a choice between using interface and abstract class?
What is the difference between ear, jar and war file?
Why are my checkboxes not being set from on to off?