which one the better thread emplemented thread or extended ?
Answers were Sorted based on User's Feedback
Answer / ravikiran
implementing runnable interface is a bettr practice
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / anand
its better to use runnable
interface....
using this interface
multithreading is became
possible in java
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / arun
thread implements is the better one no need of creating a
thread object(thread t =new thread()),we just write t.run()
| Is This Answer Correct ? | 0 Yes | 3 No |
List interface?
Can Anybody tell the diff b/w jdk1.6 and latest version.
What is meant by polymorphism?
What is constructor and virtual function? Can we call a virtual function in a constructor?
What is the final class modifier?
Difference between abtsract & final
How do you create a null object?
How do listeners work?
What is java util hashmap?
How to transfer data from an Applet to Servlet ?
Differentiate constructor and a method and how are it be used?
What are keywords and reserved words in java?