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 |
What do you mean by scope of variable?
how to minimize the functionality to will not force garbage collector?
What is jar?
What do you mean by constant time complexity?
What are implicit objects in java?
What is * argv?
What is the difference between error and an exception?
What is dynamic binding?
In treeset we add same object ...what will be the out put
What environment variables do I need to set on my machine in order to be able to run java programs?
What is void data type?
What is __ init __ functions?