Answer Posted / rajshekhar
There are 2 ways to create a thread
1.By extending thread class
2.and the second one is by implementing runnable
interface.among the two the second one is more common and
better to use.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
When a thread blocks on i/o, what state does it enter?
Why is string immutable in java?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
What is TL and its use?
how to use debug in my elipse to solve problems that exist in my project
what are the advantages of JTA over JTS?
Why does the option tag render selected=selected instead of just selected?
Difference between hashmap and hashtable?
What is a policy?
wahts is mean by dynavalidatorform in struts/
What event results from the clicking of a button?
what are getters and setters in Java with examples?
What is meant by method chaining?
what is a non-repeatable read?
What are the design considerations while making a choice between using interface and abstract class?