Answer Posted / sitaram
There are three type Synchronization.
1.Class level Synchronization:
Class A{
static Syn...(){
}
}
2. Block level Synchronization:
class A{
Synchronized{
}
}
3.Method level Synchronization:
class A{
Synchronize method(){
}
}
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is JFC?
How can we create an immutable class in java?
What is the difference between compile-time polymorphism and runtime polymorphism?
Can we sort array in java?
What is a databasemetadata?
What is the relationship difference the canvas class and the graphics class?
What is the difference between Grid and Gridbaglayout?
What does snprintf return?
What is the difference between notify and notifyall method?
What is a generic code?
Difference between final and effectively final ? Why is effectively final even required ?
What is break and continue statement?
Can we declare an array without size in java?
How to compare strings in java?
What is methodological theory?