what is mean by synchronization?

Answer Posted / uma

synchronized means that in a multiple threaded
environment,a synchronized object does not let two threads
access the same time.this means that one thread cant be
reading while another updates it.the second thread will
instead wait until the first is done.the overhead is
speed,but the advantage is guaranteed consistency of data..

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define interface in java?

607


Can we have more than one package statement in source file ?

590


What is the functionability stubs and skeletons?

684


what is the major difference between linkedlist and arraylist in java?

551


How will you call an Applet using Java Script Function?

544






What is the list interface in java programming?

582


Which is better 64 bit or 32 bit?

507


What does it mean to be immutable?

551


Which browsers work with java?

559


What occurs when an object is constructed?

571


What is constructor chaining in java?

587


How can you read content from file in java?

597


Can we cast any other type to boolean type with type casting?

539


What do you mean by inner class in java?

566


What are the important features of Java 9 release?

537