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 is pojo class in java?

0 Answers  


What is functional interface in javatpoint?

0 Answers  


diff between abstract methods and interfaces with programing (code) example?

2 Answers  


What is singletonlist in java?

0 Answers  


System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0

8 Answers   Accenture,






What is the purpose of garbage collection in java? When is it used?

0 Answers  


Do extraneous variables affect validity?

0 Answers  


Can we execute a program without main() method?

0 Answers  


Can a main method be declared final?

0 Answers  


What is the method in java?

0 Answers  


How to declare an arraylist in java?

0 Answers  


What is functional interface in java example?

0 Answers  


Categories