when we applied start()method on a thread ,how does it know
that to execute run()method on that object?
Answer Posted / 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 |
Post New Answer View All Answers
To identify IDL language what mapping mechanism is used?
What is the difference between a menuitem and a checkboxmenuitem?
What is local interface. How values will be passed?
What is the immediate superclass of the applet class?
Explain about RMI Architecture?
which book is better for jdbc ,servlets and jsp
What is TL and its use?
To what value is a variable of the string type automatically initialized?
why static class in java
What is bean? Where can it be used?
Why is actionform a base class rather than an interface?
What is in-memory replication?
What state does a thread enter when it terminates its processing?
What is Remote Server?
whats is mean by connectionpooling