What is the difference between the synchronized() & static
synchronized()?
Answers were Sorted based on User's Feedback
Answer / namrata
when a Thread enters a static synchronized method of a
given class, then no other Thread can enter another static
synchronized method of that class. But other threads might
execute any non-synchronized method, or a synchronized
instance method.
| Is This Answer Correct ? | 6 Yes | 3 No |
What is return in java?
What are wrapped classes in java programming?
what is Abstract DataType?
what is difference between length and length()?
State the difference between creating string as new () and literal.
What ide should I use for java?
can we write two same methods in outer class and innerclass.
Is 0 true or is 1 true?
Which package has light weight components?
How many bytes is string in java?
Where we write javascript code in html page?
Define locale.