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
What is the difference between java class and bean?
What do you know about seam?
Is the infobus client side only?
Which are the different segments of memory?
What is prototype?
Explain about local interfaces.
What are the different types of exception?
What is the purpose of the finally clause of a try-catch-finally statement?
what are getters and setters in Java with examples?
What value does readline() return when it has reached the end of a file?
What is mdb and what is the special feature of that?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
What is jboss?
What class is the top of the awt event hierarchy?
What is ioc concept & explain it?