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

list the types of dialodg

1 Answers   Wipro,


what is the proxy pattern?

1 Answers  


diff between jsp include directive and jsp action include?

2 Answers   SolutionNET,


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

0 Answers  


What does module-relative mean?

0 Answers  






how we can implement interface in jsp ?

2 Answers   Google,


What is difference RMI registry and OSAgent?

1 Answers  


What are skeletons and stubs and how they are generated?

2 Answers  


Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.

4 Answers   HeadStrong,


1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession

1 Answers  


Is the ternary operator written x : y ? Z or x ? Y : z ?

0 Answers  


Explain the steps in details to load the server object dynamically?

0 Answers  


Categories