What is synchronization? How it can be achieved?

Answer Posted / sainaveen

Synchronization is a mechanism used to control multiple
threads from accessing shared resources, if multiple
threads access shared resources there might be a chance for
one thread to change the shared values of another thread
leading to errors

Is This Answer Correct ?    6 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

who can i handle multiple client in RMI

1433


What is the use of runnable interface?

599


Can anonymous class have constructor?

545


What is the structure of java?

501


What is the benefit of inner classes in java?

594






How do you clear a list in java?

593


What is a literal coding?

507


How many types of gc are there in java?

552


What is backdrop?

589


How will you compute size of a structure?

574


Can we pass null as argument in java?

500


Can a class have multiple constructors?

529


How many bytes is a unicode character?

497


Difference between current previous versions of Java?

549


What is meant by method?

573