Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

What is synchronization and why is it important in java?

5 like 0 dislike
Hello
What is synchronization and why is it important in java?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by DBA-boss (120,990 points)

1 Answer

2 like 0 dislike
 
Best answer
With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of using or updating that object's value. This often leads to significant errors.
answered 1 year ago by eagles11 (179,830 points)

Related questions

5 like 0 dislike
1 answer
6 like 0 dislike
1 answer
5 like 0 dislike
1 answer
4 like 0 dislike
0 answers
6 like 0 dislike
1 answer
asked 1 year ago by eagles11 (179,830 points)