Answer Posted / reddy
Two or more threads trying to access the same method at same
point of time leads to Synchronization.If that method is
declared as synchronized,only one thread can access at that
time of another thread can access that method only if the
first thread task is completed.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Program to Find the second largest element in an array.
Define an enumeration?
What does it mean that strings are immutable?
Difference between comparator and comparable in java?
What is percentage in java?
Explain about varargs in java?
Difference between a class and an object?
Why are the objects immutable in java?
What do you understand by classes in java?
What is string example?
How to change the priority of thread or how to set priority of thread?
What is jee6?
Is array an object in java?
Is array primitive data type in java?
Can It is possible to synchronize the constructor of a Java Class?