What is synchronization?

Answer Posted / mahipal reddy.kaitha

 Synchronized keyword can be applied to methods or
parts of the methods only.
 Synchronize keyword is used to control the access
to critical code in multi-threaded programming.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What value does read() return when it has reached the end of a file?

551


What are the steps to write p-to-p model application?

1963


Is there a guarantee of uniqueness for entity beans?

572


Is “abc” a primitive value?

618


Explain how will the struts know which action class to call when you submit a form?

524






Explain the steps in details to load the server object dynamically?

4545


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??

1106


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2158


For which statements does it make sense to use a label?

591


What is threadfactory?

619


What value does readline() return when it has reached the end of a file?

593


What is the argument type of a programs main() method?

565


Why is string immutable in java?

581


What is the difference between the ‘font’ and ‘fontmetrics’ class?

641


Which containers use a border layout as their default layout?

611