describe synchronization in respect to multithreading? : Java thread



describe synchronization in respect to multithreading? : Java thread..

Answer / Ankit Malik

Synchronization in Java is used to control the access of shared resources by multiple threads, ensuring that only one thread can execute critical sections of code at a time. This prevents race conditions and inconsistent states caused by simultaneous manipulation of shared data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What do you mean by scope of variable?

1 Answers  


how to minimize the functionality to will not force garbage collector?

2 Answers  


What is jar?

1 Answers  


What do you mean by constant time complexity?

1 Answers   Amazon,


What are implicit objects in java?

1 Answers  


What is * argv?

1 Answers  


What is the difference between error and an exception?

1 Answers  


What is dynamic binding?

2 Answers  


In treeset we add same object ...what will be the out put

3 Answers  


What environment variables do I need to set on my machine in order to be able to run java programs?

1 Answers  


What is void data type?

1 Answers  


What is __ init __ functions?

1 Answers  


Categories