What is the difference between static synchronize() metod
and synchronize() method?
Answer / 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 |
why Interface used?
What all methods are used to prevent thread execution ?
What is a parameter example?
What Is Composition?
Write the algorithm to check the number non-leaf nodes in a tree.
is it mandatory to deaclare all variables public static fianl in interfaces?if i declare like in the below program, public interface A { public static final int I=0; int j=0; } in interface A,what is the difference between I,j?
Why packages are used?
What is thread pool in java with example?
Where is the singleton class used?
What is a substring of a string?
How many types of equations are there?
Explain java code for recursive solution's base case?