What is synchronization?

Answers were Sorted based on User's Feedback



What is synchronization?..

Answer / janet

Synchronization is the mechanism that ensures that only one
thread is accessed the resource at a time.

Is This Answer Correct ?    6 Yes 0 No

What is synchronization?..

Answer / mahipal reddy.kaitha

 Synchronized keyword can be applied to methods or
parts of the methods only.
 Synchronize keyword is used to control the access
to critical code in multi-threaded programming.

Is This Answer Correct ?    4 Yes 0 No

What is synchronization?..

Answer / ranjani

It is a mechanism which is used to provide the priority for
multiple thread programs to avoid the deadlock condition.

Is This Answer Correct ?    4 Yes 0 No

What is synchronization?..

Answer / devarathnam c,kotagudibanda(po

Hi...
Synchronization:It is a mechanism of controlling the shared
resource againist the multiple processes inorder to provide
the concurrent access.

Is This Answer Correct ?    3 Yes 0 No

What is synchronization?..

Answer / akshay

If there is a portion of code within a method or the
complete method that can be accessed by multiple threads,
that section of code is called critical section. To make
sure that only one thread can access critical section at a
time, we synchronize critical section. Synchronization is
the keyword to avoid concurrent access to critical section
of the code.

Is This Answer Correct ?    3 Yes 0 No

What is synchronization?..

Answer / nadesh.k

It is a mechanism which is used to provide the priority for
multiple thread programs to avoid the deadlock condition.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

Connection Pooling with different type of databases?

1 Answers  


What is the difference between Super and This Keyword?

4 Answers   HCL, TCS,


What happens when a thread cannot acquire a lock on an object?

0 Answers  


On a computer that having single CPU, how multithreading concept can be achieved?

1 Answers   Zensar,


Write a program to show synchronization?

0 Answers  






Can you give me a simple example of using the requiredif validator rule?

0 Answers  


Explain phantom read?

0 Answers  


how the mapping can be done from jsp to actionservlet?

2 Answers   SolutionNET,


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

1 Answers  


How to implement RMI in Java?

0 Answers   TCS,


what is the port number of RMI?

2 Answers  


Difference between hashmap and hashtable?

0 Answers  


Categories