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
Can I map more than one table in a cmp?
Explain RMI Architecture?
whats is statement and procedure
What are the design considerations while making a choice between using interface and abstract class?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
Is infobus easy to use?
How are commas used in the intialization and iteration parts of a for statement?
What is the difference between a static and a non-static inner class?
What class is used to create Server side object ?
Why do I get a duplicate name error when loading a jar file?
What is abstract schema?
What is the diffrence between a local-tx-datasource and a xa-datasource?
what is an isolation level?
How can I avoid validating a form before data is entered?
Can you control when passivation occurs?