Answer Posted / ranganathkini
1. Extending the Thread class
2. Implementing Runnable interface in a class and then
passing its reference to a new Thread.
3. Creating an anonymous class to extend the Thread class.
4. Creating an anonymous class to implement the Runnable
interface and then passing its reference to a new Thread.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
Brief description about local interfaces?
Is there a guarantee of uniqueness for entity beans?
What is clustering? What are the different algorithms used for clustering?
What is a modular application? What does module-relative mean?
What is the difference between RMI registry and OS Agent?
What you mean by COM and DCOM?
Do we need to override service() method
How are commas used in the intialization and iteration parts of a for statement?
What is the form of storage space in java?
How are the elements of a cardlayout organized?
What is the relationship between local interfaces and container-managed relationships?
If your ui seems to freeze periodically, what might be a likely reason?
Name three subclasses of the component class?
What is threadfactory?