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 |
Define package in Java.
what is difference between Interface and abstract class
What is prime number in java?
How does a for loop work?
Why Over riding is Run Time Polymorphism?
Differentiate between class and structure.
What is the difference between static (class) method and instance method?
how we can create packages in java?
What is an event?
What is the difference between a static and a non-static inner class in java programming?
Does java vector allow null?
What is thread safe in java?