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
What is the relation between the infobus and rmi?
How substring() method of string class create memory leaks?
Explain what is synchronization?
How can I scroll through list of pages like the search results in google?
What is difference between object state and behavior?
What are the steps to write p-to-p model application?
What is the difference between a menuitem and a checkboxmenuitem?
What is ioc concept?
What is permgen or permanent generation?
What is the difference between session and entity beans?
What are externizable interface?
Why use a datasource when you can directly specify a connection details?
How task's priority is used in scheduling?
What is the difference between long.class and long.type?
Define prototype?