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 |
How do u pass data from one jsp to another jsp?
explain copyonwritearraylist and when do we use copyonwritearraylist?
What are the two types of java?
Difference between a class and an object?
What is the effect of keeping a constructor private?
What is the synchronized method modifier?
How to make a class immutable?
What is an i/o filter?
What is the difference between math floor and math round?
How to print a statement without using semicolan in java
what is a thread pool in java and why is it used?
Explain the significance of class loaders in bootstrap?