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
Garbage collection in java?
What is the relationship difference the canvas class and the graphics class?
how to deploy apache tomcat server to weblogic server in java
Explain java coding standards for interfaces?
In how many ways we can create threads in java?
What is a null check?
Why inputstreamreader is used in java?
What is the abstract class?
What does sizeof return?
What does system.gc() and runtime.gc() methods do?
what is recursion in java
Can we declare the main method of our class as private?
Explain the difference between arraylist and linkedlist in java?
What is class??
What is tcp and udp?