How many types of syncronization?

Answers were Sorted based on User's Feedback



How many types of syncronization?..

Answer / 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

How many types of syncronization?..

Answer / harishchand

Three type of synchronization
1) Class level synchronization.
2) Block level synchronization.
3) Method level synchronization

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Core Java Interview Questions

What are the special characters?

0 Answers  


What are design patterns and please explain?

0 Answers  


What do you mean by append?

0 Answers  


which one the better thread emplemented thread or extended ?

4 Answers   Fidelity,


Why bytecode is called bytecode?

0 Answers  






What is one third plus one third as a fraction?

0 Answers  


What does || mean in vectors?

0 Answers  


What is meant by class loader? How many types are there? When will we use them?

0 Answers  


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

0 Answers  


Difference between JVM and JRE?

3 Answers   Amdocs,


How to display all the prime numbers between 1 and 100

0 Answers  


What is method overloading in JAVA? Why is it not present in C ?

0 Answers   Akamai Technologies,


Categories