What is the difference between Synchronizing mehtod &
Synchronizing block?
Answer Posted / anjani kumar jha
In syncronizing block the object is locked.
In Syncronozing the method the method is
locked........means only one at a time only one thread can
use that method.
Thanks and Regards
Anjani Kumar Jha
9623154095
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is treeset in java collection?
What are three types of loops in java?
Why runnable interface is used in java?
Explain about varargs in java?
What happens if an exception is throws from an object's destructor?
What is array length?
Where to store local variables?
What is java util function?
What do you mean by default constructor in java?
What is the preferred size of a component in java programming?
What’s the difference between applets and standalone program?
What is difference between pointer and reference?
What happens when I use / and % with a negative numerator?
What is temp in java?
What is a methodologist?