Answer Posted / sainaveen
Synchronization is a mechanism used to control multiple
threads from accessing shared resources, if multiple
threads access shared resources there might be a chance for
one thread to change the shared values of another thread
leading to errors
| Is This Answer Correct ? | 6 Yes | 8 No |
Post New Answer View All Answers
How do you declare a variable?
why not override thread to make a runnable? : Java thread
How to instantiate static nested classes in java?
Can static methods be inherited?
What is string in java? String is a data type?
What happens if I remove static from main method?
When will we prefer to use set and list in java and why?
What is the set interface in java programming?
Where are the card layouts used?
What is array sorting in java?
How we can skip finally block of exception even if some exception occurs in the exception block in java?
What are the important features of Java 8 release?
What is flag in python?
What is a treeset in java?
What is string in java?