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 JVM and is it platform independent?
Why lambda expression is used in java?
How to find the given number is a prime number or not by getting input from the user
What is run time allocation?
What are streams?
What is the difference between a factory and abstract factory pattern?
What is the use of coding?
What is a protected class in java?
What are the main uses of the super keyword?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
How can we make a class virtual?
Why java applets are more useful for intranets as compared to internet?
Why do we use string?
What is the preferred size of a component in java programming?
How do you compare arrays in java?