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

Why is java called java?

541


What do you mean by pointer value and address?

575


What is Classloader in Java?

634


Explain where variables are created in memory?

578


What is public static void main?

565






What is a newline character in java?

563


What is the use of jtable?

650


What are 5 boolean operators?

614


What is java autoboxing?

532


What is constructor and virtual function? Can we call a virtual function in a constructor?

674


What is the difference between exception and error in java?

487


Define an applet in java?

627


What is the association?

544


How is garbage collection controlled?

730


What is rmi and steps involved in developing an rmi object?

564