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 a list in java?
Which is fastest collection in java?
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
What is the purpose of a parameter?
What is garbage collection? Can it be forced to run?
What is an infinite loop? How infinite loop is declared?
What are predefined functions?
Is there any difference between nested classes and inner classes?
How do you initialize an arraylist in java?
What is size of int in java?
How do you decide when to use arraylist and linkedlist?
When should you make a function static?
What are structs in java?
What are synchronized methods ?
What is a constructor overloading in java?