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
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
how to use debug in my elipse to solve problems that exist in my project
What is a class loader?
Which containers use a border layout as their default layout?
What is ioc concept?
What classes of exceptions may be caught by a catch clause?
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??
Which component handles cluster communication in jboss?
What is a sessionfactory? Is it a thread-safe object?
Why does the tag url-encode javascript and mailto links?
what is a portable component?
What modifiers may be used with an inner class that is a member of an outer class?
What is metaspace?
Are we allowed to change the transaction isolation property in middle of a transaction?
What are the different class loaders used by jvm?