Answer Posted / sonam sharma
synchronization is a process in which only one thread
executes at a time.when one thread release the resources
then other thread used the resources.if one thread not
release the resources till that time other thread not uses
the resources.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is garbage collection? Can it be forced to run?
How do you escape json?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
Is static variable stored in heap?
Is break statement can be used as labels in java?
What is e in java?
Can a constructor be private and how are this() and super() method used with constructor?
What do you mean by constant time complexity?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
Why is stringbuffer thread safe?
Is hashset ordered?
What is the file extension for java?
What is qualitative variable?
What is regex used for?
What is generic class?