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 does || mean in vectors?

0 Answers  


explain about casting of objects?

5 Answers  


What do you mean by inner class in java?

0 Answers  


What is integers and example?

0 Answers  


What are the three parts of a lambda expression?

0 Answers  


Define class?

0 Answers  


there are some duplicate values in ArrayList, how U'll get that array with out duplicate?

4 Answers   CMC,


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?

2 Answers   TCS,


how to fing linkedlist is circular or not?

1 Answers   TCS,


What is singleton class in ruby?

0 Answers  


What are the application of stack?

0 Answers  


Can we create object of inner class in java?

0 Answers  


Categories