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 |
Which One is optimal to choose ? Syncronized hash map or Hash table with single thread model? How can a hash map syncronized with out using syncrozed blocks in programm?
What are MalformedURLException and UnknownHost Exceptions and whey they will be thrown?
Why Java is not purely object oriented?
50 Answers Elitecore, Persistent, Reliance, Wipro,
How will you initialize an Applet?
Iterator in the HashMap is fail-safe means what?
what is diffrence between .NET and java?
what is difference between length and length()?
Why string is a class?
What are the advantages of unicode?
why we import both packages java.awt.*; and java.awt.event.*; as java.awt.*; can import all classes na. then what is the need of importing java.awt.event.*; ?
What is a parameter in java?
what do you mean by marker interface in java?