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 remove an element from an arraylist in java?
What is the tradeoff between using an unordered array versus an ordered array?
Why is it called boolean?
Can we override private constructor in java?
Explain about serializable interface in java?
Can a class have a static inner class?
What is singleton class and how can we make a class singleton?
What are the differences between stringbuffer and stringbuilder?
Can we use synchronized block for primitives?
Can a string be null?
What is the purpose of the wait(), notify(), and notifyall() methods in java programming?
Differences between external iteration and internal iteration?
How do you escape json?
Is main is a keyword?
What are the basics of core java?