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
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
What are callback interfaces?
What is meant by method chaining?
What are local interfaces? Describe.
What is the purpose of the finally clause of a try-catch-finally statement?
What are the pros and cons of detached objects?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What is the purpose of the notify() method?
Where can I ask questions and make suggestions about seam?
Can I have an action without a form?
What restrictions are placed on the values of each case of a switch statement?
What is local interface. How values will be passed?
What is ripple effect?