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   To Refer this Site to Your Friends   Click 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
 
How can you say HashMap is syncronized? IBM13
What are access modifiers in Java ?  5
what is the use of custom tags? with example? Photon1
How to declare unique ArrayList ? RMSI4
What is static and a non-static inner class?  3
jdbc drivers? Wipro7
What is a Wrapper class?  9
What services that container provides?  1
what is the use of private constructor in core java? Satyam3
Can you make an instance of an abstract class? Accenture4
By what default value is an object reference declared as an instance variable? Wipro1
what is the difference between java and j2ee... is that can i work j2ee on net beans IDE 6.0  2
Explain the difference between getAppletInfo and getParameterInfo?  1
What is the basic functionality of DataOutput interface in java? TCS2
heavy components means what?  4
Are there any tools available in java to create reports?  5
System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0 Accenture6
What is the order of method invocation in an Applet?  1
what is bytecode? watz the difference between machine code and bytecode? Oracle4
Can we override static methods? Bally-Technologies15
 
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