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 native code?
How many bytes is string in java?
How does serialization work
What is constructor in java ?
Can applet in different page/s communicate with each other?
What is supplier in java?
What is the full name of java?
how to use crystal reports in java
Why do we use threads in java?
What is an exception? difference between Checked and Unchecked exception in Java
0 Answers SkillGun Technologies,
How many objects are created when we create String class object using new operator?
explain autoboxing in java?