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 the RMI and Socket?
Why a client should be multithreading? Explain.
Can I map more than one table in a cmp?
What are the call back methods in entity bean?
What are the JSP implicit objects ?
Why is string immutable in java?
Are we allowed to change the transaction isolation property in middle of a transaction?
how convert java file to jar files?
diff mvc1 and mvc2 wahts is mean by servlet chaining?
What are the purpose of introspection?
Will the general public have access to the infobus apis?
What are the advanatages of RMI ?