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
What is difference between Heap and Stack Memory?
What is main in java?
What does || mean in vectors?
Why is logger singleton?
Difference between association, composition and aggregation?
What is %d in printf?
What is generics in java interview questions?
Why is string builder not thread safe?
Can you pass by reference in java?
Is a class an object?
What is void in java?
Can main() method in java can return any data?
Can we write method inside a method in java?
What is the difference between instanceof and isinstance?
What are the two environment variables that must be set in order to run any java programs?