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  >>  Advanced 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
when we applied start()method on a thread ,how does it know 
that to execute run()method on that object?
 Question Submitted By :: Ravurivinod
I also faced this Question!!     Rank Answer Posted By  
 
  Re: when we applied start()method on a thread ,how does it know that to execute run()method on that object?
Answer
# 1
When start method is called , JVM calls run method of this 
object
 
Is This Answer Correct ?    1 Yes 0 No
Suma
 
  Re: when we applied start()method on a thread ,how does it know that to execute run()method on that object?
Answer
# 2
Thread in a java inbuilt Object.
So if you are implementing threads in your system by using
Thread class or runnable interface, the JVM will look at
that and keep an eye on your code. As soon as you call the
start method it will go and call the run method on its own.
The funda here is that this is something that the JVM if
fully responsible of handling.
 
Is This Answer Correct ?    1 Yes 0 No
Sushant
 
 
 

 
 
 
Other Advanced Java Interview Questions
 
  Question Asked @ Answers
 
What is daemon thread?  1
what is catalina in tomcat server. IBM4
What is RMI architecture?  1
What is preemptive and Non-preemptive Time Scheduling?  1
what is a dirty read?  1
Howmany interfaces are used in RMI?  1
What is meant by Superconductivity?  1
diff between jsp include directive and jsp action include? SolutionNET3
wahts is mean by dynavalidatorform in struts/ SolutionNET1
When you will synchronize your code?  2
Is 'synchronised' a modifier?  1
diff between jsp include directive and jsp action include? SolutionNET2
What is Introspection?  2
explain the flow of struts? SolutionNET2
a US company has filed my H1B visa ,, and i got selected in random number process.I wanna ask Could they ask regarding my languages(java,c++) or there will b just general questions?? And wat kind of questions will they ask in embassy interview??  2
difference between applicationserver and webserver SolutionNET2
What is the lifecycle of an applet?  2
What is resource bundle?  1
What is RMI Registry? Siemens1
What is a compilation unit?  1
 
For more Advanced 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