GeekInterview.com
Series: Subject: Topic:
Question: 82 of 124

Available methods in synchronization ?

Asked by: sudhakar_bvr | Member Since Mar-2006 | Asked on: May 30th, 2006

View all questions by sudhakar_bvr   View all answers by sudhakar_bvr

Showing Answers 1 - 4 of 4 Answers
Narasimha Rao Konjeti

Answered On : Jun 15th, 2006

ZERO

  
Login to rate this answer.
sonia

Answered On : Jun 21st, 2006

It is a process of ensuring that if two or more threads are using  a shared resource then only one thread get access to that shared resource at a time.

Synchronization contains empty implementation, so no method is used.

Yes  1 User has rated as useful.
  
Login to rate this answer.
amreenkhader

Answered On : Jan 20th, 2012

View all answers by amreenkhader

In this two threads cannot use the same resource simultaneously beacuse the thread execution gets interrupted or terminated hence only a single thread can share resource at a time.

  
Login to rate this answer.
dhayasinfo

Answered On : Jul 16th, 2012

View all answers by dhayasinfo

Synchronization is a process by using Synchronize keyword to prevent the dead lock. This can be used in methods or block to prevent two threads to access the same resource in the same time.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Question Categories

Core Java Interview Questions

EJB Interview Questions

Hibernate Interview Questions

Java Interview Questions

Java Patterns Interview Questions

JDBC Interview Questions

JMS Interview Questions

JSP Interview Questions

Java OOPS Interview Questions

Ruby Interview Questions

Servlets Interview Questions

Spring Interview Questions

Struts Interview Questions

Websphere Interview Questions

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.