ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What is a deadlock ?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is a deadlock ?
Answer
# 1
When two threads are waiting each other and can't proceed 
the program is said to be deadlock.
 
Is This Answer Correct ?    2 Yes 0 No
Janet
 
  Re: What is a deadlock ?
Answer
# 2
if one process need a resourse,but it is used by another 
process.then that process wait for sometime for that 
resourse.that process wait sometime later it will go to 
deadlock stage.
 
Is This Answer Correct ?    2 Yes 0 No
Madhuri Reddy
 
 
 
  Re: What is a deadlock ?
Answer
# 3
If a process is waiting for  a resource  is using by 
another process in that case deadlock encounter if its 
waited undefinetly(For a certain period) ..
 
Is This Answer Correct ?    1 Yes 0 No
Hanu
 
  Re: What is a deadlock ?
Answer
# 4
deadlock is the state which will occur when two synchronized
methods calling one another continuously
 
Is This Answer Correct ?    2 Yes 0 No
Ravikiran(aptech Mumbai)
 
  Re: What is a deadlock ?
Answer
# 5
deadlock is the state when different processes are waiting
for the resorces held by any other processes, which in turn
are waiting for some other processes and so on. in this
situation no process is able to perform the required task
and hence goes in the deadlock state.
 
Is This Answer Correct ?    2 Yes 0 No
Annonmys
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
84. try { 85. ResourceConnection con = resourceFactory.getConnection(); 86. Results r = con.query(”GET INFO FROM CUSTOMER”); 87. info = r.getData(); 88. con.close(); 89. } catch (ResourceException re) { 90. errorLog.write(re.getMessage()); 91. } 92. return info; Which is true if a ResourceException is thrown on line 86? 1 Line 92 will not execute. 2 The connection will not be retrieved in line 85. 3 The resource connection will not be closed on line 88. 4 The enclosing method will throw an exception to its caller.  1
1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread? TCS2
What is the difference between abstract class and interface?  2
what is the difference between equals method and == Professional-Access11
What Method and class used for Connection pooling ? Wipro4
What is the difference between serialization and deserialization? ABC2
What is the need to implement Serializable interface (with no methods) for objects which are to be serialized ? We can write our own functionality which writes objects to streams then why we need to implement and tell JVM that which objects can be serialized. iFlex4
what is auto boxing UHG1
What is meant by final class, methods and variables?  2
What is data abstraction? Elaborate with example? BMC3
What is the use of bin and lib in JDK?  3
Nullpointer exception is a very common exception. Why is it not made as a checked exception? Ness-Technologies1
what is webservices? CTS1
what is difference between servletconfig and servletcontext? AMDOC3
Life Cycle of Thread IBM3
What is "Java Native Interface" and how to use it? IBM1
How can we find size of the object ? RazorSight1
what is Vector class?  2
what is difference between validation.xml & validation rules.xml? BirlaSoft5
how cani read a command line argument?(usingfile object).  3
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com