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
Can I have an action without a form?
Name three subclasses of the component class?
What is the difference between ear, jar and war file?
What is a session? Can you share a session object between different theads?
how i secure my site with the https protocol.what are the steps?
wahts is mean by dynavalidatorform in struts/
Is “abc” a primitive value?
What is aop(assepct oriented programing)?
What is table mutation and how do you avoid it?
Do I need to import javlang package any time? Why ?
Is the session factory thread safe?
how do you Handle Front End Application data against DB with example?
What is Remote Server?
Why do threads block on i/o?
What are the benefits of detached objects?