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 the difference b/w PUT and POST method to send data to the server
Can you declare a private method as static?
what are the different non-access specifiers in java?
Is alive method in java?
What is default specifier ??? Use of default specifier ???
What is the use of :: in java?
How do you find the absolute value?
What is broken and continue statement?
How applets will communicate with each other?
What is a super class and how super class be called?
What is difference between “==” and equals()?
Which collection is thread safe in java?