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
What does it mean that a method or field is “static”?
What is an abstract class and what is it’s purpose?
What is thread pool in java with example?
How are the elements of a gridbaglayout organized in java programming?
What is r in java?
Can we rethrow the same exception from catch handler?
What is the difference between public, private, protected, and friend access?
What is the purpose of javac exe?
What is the method to declare member of a class static?
What do you mean by buffering?
How do you sort data in java?
What is string value?
Can we cast any other type to boolean type with type casting?
What is a method declaration?
What is a predicate method?