when we applied start()method on a thread ,how does it know
that to execute run()method on that object?
Answers were Sorted based on User's Feedback
Answer / suma
When start method is called , JVM calls run method of this
object
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / sushant
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 ? | 5 Yes | 0 No |
difference. between List and Set?
2 Answers Campus Interaction, HCL, Infotech,
Which Taglibraury you used in your project? plz send me ans....which we r using generally
Describe responsibilities of Activator?
Is multiple try block is possible in single java Application......
Do I have to use jsps with my application?
How do u supress the parameters from the displaying in the url?
What is the difference between static and non-static with examples?
Do I need to import javlang package any time? Why ?
What is the difference between java class and bean?
What is the relationship between local interfaces and container-managed relationships?
Which class is the immediate superclass of the menucomponent class?
whats is mean by object and class?