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 |
Which sorting algorithm is best in java?
What are Inner classes?
What is the nested interface?
Can we instantiate Interfaces?
What are the steps involved to create a bean?
why would you use a synchronized block vs. Synchronized method? : Java thread
What is connection class in java?
What is singleton class in ruby?
What is java in simple terms?
What is preflight request?
What are constants and how to create constants in java?
Explain your academic project?
2 Answers Accenture, Levonsys, SDF, TCS, Tech Mahindra,