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 |
How will you pass parameters in RMI? Why do you serialize?
What are the implicit objects?
What is diffennce between AWT & SWING?
what is a portable component?
What is the difference between session and entity beans?
what is a non-repeatable read?
difference of inheritance and interface
How do you maintain a stateful session object across the session
Name the eight primitive java types.
diffrence between jsp and servelts.
When a thread blocks on i/o, what state does it enter?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?