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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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 the Yield() method used in threads?
 Question Submitted By :: Sasirekha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the Yield() method used in threads?
Answer
# 1
yield method will allow other thread to execute.
 
Is This Answer Correct ?    1 Yes 1 No
Sasirekha
 
  Re: what is the Yield() method used in threads?
Answer
# 2
This static method is essentially used to notify the system that the current thread is willing to "give up the CPU" for a while. The general idea is that:
The thread scheduler will select a different thread to run instead of the current one.
 
Is This Answer Correct ?    0 Yes 0 No
Chikku
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
why to use transient variables when static variables can be used for Serialization  3
y cant i declare method like public final static show()  2
how u do unit testing? iFlex2
What is an object?s lock? Give name of object?s that have locks?  1
Explain final, finalize() and finally?  6
Explain the concept of polymorphism with examples?  4
Name the method that used to clear the buffer ?  2
Is multiple inheritance allowed in Java? Why ?  5
Hai all I want to print given array in reverse order Ex: int a[]={1,2,3,4,5};display this array in reverse order.  2
What is the difference between array and arraylist? what is the difference between arraylist and linkedlist? EDS4
What is difference between Eclips and MyEclips?  2
How can you sort dates? TCS1
Difference between an argument and a parameter? HCL4
What is "finally" keyword?  3
Why const and goto are reserved keyword in java?  1
How to convert String into primitive datatype.  4
what is marker interface ? what is the necessity of it? Accenture4
methods in Applet?  1
Name the types of 'priority'?  2
what is servlet filter?  1
 
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