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
How would you detect a keypress in a jcombobox?
the same information whether it will connect to the database or it will be used previous information?
Is “abc” a primitive value?
What are the design considerations while making a choice between using interface and abstract class?
What is the difference between RMI and Corba?
Can I have an action without a form?
which book is better for jdbc ,servlets and jsp
What is the relationship between the canvas class and the graphics class?
What is the difference between the session.get() method and the session.load() method?
Why does the option tag render selected=selected instead of just selected?
What is local interface. How values will be passed?
When is the best time to validate input?
What is the difference between the session.update() method and the session.lock() method?
What is ioc concept?
What do you need to set-up a cluster with jboss?