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

How can a dead thread be restarted?

1 Answers   IBM, Wipro,


What is difference RMI registry and OSAgent?

1 Answers  


1) what is synchronization? 2)write a program to show synchronization ? 3) what is orm? 4) what is getTemplete method and hw u use it? 5)write a singleton program ? 6) what is IOC concept & explain it? 7) methods of spring? 8)explain spring framework? 9)what are the oops concept? 10)what r the diff types of exception? 11)what is AOP(assepct oriented programing)? 12)jsp life cycle? 13)servlet life cycle? 14)how to u catch ur exception when executing a query in hibernate? 15)write javascript function? 16)write a querry to join two tables? 17)wap to show inheritance and use of interface? 18)explain the project? 19)in spring bean class uses singleton or prototype? 20)Explain prototype?

1 Answers   Cap Gemini,


How would you detect a keypress in a jcombobox?

0 Answers  


What are the oops concept?

0 Answers  






I wantr to know, How many number of users logged in to website? can any one answer

7 Answers   Cap Gemini,


What is the difference between a stub and a skeleton?

9 Answers   ABC, College School Exams Tests, Geoservices, Polaris, Qualcomm, Rajiv Gandhi College of Engineering and Technology RGCET, UTIITSL, Wipro,


What’s jboss jbpm?

0 Answers  


Where can I find seam examples and documentation?

0 Answers  


What is a session? Can you share a session object between different theads?

0 Answers  


Name the class that is used to bind the server object with RMI Registry?

0 Answers  


What is the difference between system.out ,system.err and system.in?

0 Answers  


Categories