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 |
What is compareto () in java?
Is empty list java?
What is the use of :: in java?
Why are the methods of the math class static?
Why do we use variables?
What is oop principle in java?
how to handle exceptions in core applications?
Explain throw keyword in java?
write a progam hashmap & hashtable?
why Java does not support multiple inheritances?
What is lambda expression in java?
How finally used under exception handling?