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 |
Is alive method in java?
What is meant by data hiding/encapsulation?
Why we cannot override static method?
What is variable explain?
What is ctrl m character?
Can we declare a class as static?
Why java is secure? Explain.
How can a gui component handle its own events?
What is protected and friendly?
What is the functionality of Webserver?
What exactly is java?
How do you sort arraylist in descending order?