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
What is the importance of finally block in exception handling?
What is array and arraylist in java?
Can I extend singleton class in java?
What is the size of int?
Explain the difference between runnable and callable interface in java?
What is flag in java?
Explain about the main() method in java?
What is the difference between the direct buffer and non-direct buffer in java?
Can interface be private in java?
What is consumer interface?
What is the type of lambda expression?
How strings are created in java?
When does a class need a virtual destructor?
What do you understand by java virtual machine?
What are the different types of multitasking?