What is the difference between the synchronized() & static
synchronized()?
Answer Posted / sitaram
synchronizing is the process of ensuring the share resources
will be accessing only one thread at a time. There are two
types of synchronizations.
1. static synchronized(Class level)
2.synchronized.(Object Level).
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Why are variables important in research?
How do listeners work?
Does variable declaration allocate memory?
This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }
What is the use of toarray () in java?
Write a program to calculate factorial in java?
What is singleton class example?
Explain the available thread states in a high-level?
what do you mean by classloader?
How do you trim a space in java?
What is the disadvantage of java?
What is the difference between access specifiers and access modifiers in java?
Compare java and python.
How does map works in java?
How do you use equal in java?