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

What are the purpose of introspection?

0 Answers  


which book is better for jdbc ,servlets and jsp

0 Answers   TCS,


Can we define constructors in Servlet?

3 Answers   Accenture, Opus, Wipro,


Define aop(assepct oriented programing)?

0 Answers  


Why doesn’t the focus feature on the tag work in every circumstance?

0 Answers  


What is the need of serialize?

2 Answers   Wipro,


What are JTA/JTS and how they used by client?

0 Answers  


What is the argument type of a programs main() method?

0 Answers  


Can I map more than one table in a cmp?

0 Answers  


What modifiers may be used with an inner class that is a member of an outer class?

0 Answers  


what is difference between object state and behaviour?

3 Answers  


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

0 Answers  


Categories