What is the difference between static synchronize() metod
and synchronize() method?
Answer Posted / suresh m
Non static synchronized method enables Object's Object Lock for the given Thread
while static synchronized method enables Class's Class Lock for given Thread
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is passing by reference in java?
What is sortedmap interface?
What is nullpointerexception in java?
What does math floor () do?
How many bytes is double?
What does jre stand for?
Difference between operator overloading and function overloading
Are arrays static in java?
What is the difference between static method and instance method in Java?
Explain an algorithm to find depth of a binary tree.
Discuss about garbage collector in Java.
Explain the features of interfaces in java?
Does list allow duplicates in java?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
Explain notify() method of object class ?