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 |
What is Connection Pooling?
1 Answers Enteg Technologies, Infosys, Polaris,
whether the connectionpooling used in struts?
What is table mutation and how do you avoid it?
What is chat area? Explain.
What are the types of data passing mechanisams under JMS specification?
What is the need of serialize?
can any one tell me how to learn good coding techniques
What if the static modifier is removed from the signature of the main method?
How will the struts know which action class to call when you submit a form?
Is the session factory thread safe?
iam writing the contents to a excel through I/O i am putting first statement as WRITE and then READ(from excel) immediately..later user complains that he is not getting the date by using READ ..wat could be the situation
Describe responsibilities of Activator?