How many types of syncronization?

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


Please Help Members By Posting Answers For Below Questions

What is the difference between jdk and jre?

612


What is lambda in java?

521


What is string args [] in java?

540


What is private public protected in java?

572


What is a website container?

509






Explain about serializable interface in java?

586


What lambda means?

549


What is the major advantage of external iteration over internal iteration?

617


What is java algorithm?

525


What is array pointers ?

607


How will you reverse a link list without using recursion?

600


Why string is a class?

548


What is a local block?

642


Explain 5 io best practices?

599


Java Compiler is stored in JDK, JRE or JVM?

1052