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 variable explain?
What are parameters in a method?
Which is faster string or stringbuilder?
Does java arraylist maintain insertion order?
What is parsing a sentence?
How the elements are organized in GridBagLayout?
What is method reference?
What is the basic difference between string and stringbuffer object?
how does the run() method in runnable work? : Java thread
how to pass the parameters to applets?
What is application tier?
What is meant by packages?