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
Is null a string?
Can there be an abstract method without an abstract class?
Explain the pointers in Java?
Explain the difference between serializable and externalizable in java?
What does the string method compareto () do?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
Which is better stringbuffer or stringbuilder?
How to sort an unsorted array in java?
What is the benefit of using enum to declare a constant?
What is mnemonic in assembly language?
How dead lock situation occurs in java and how you can identify it?
What is the relationship difference the canvas class and the graphics class?
Can size_t be negative?
What is the difference between Error, defect,fault, failure and mistake?
What are disadvantages of java?