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 applets will communicate with each other?
What are the advantages of functions?
Can we declare static variables in JSP page.
What is the Set interface?
What is the purpose of premetive data types in java?
what do you understand by synchronization? : Java thread
whats string ?
how to crate clint-server socket?
1 Answers Accenture, Infosys, Infotech, TCS,
What is balanced tree in java?
how to handled exceptions & erros in ejb?
How does linkedhashmap work in java?
In how many ways we can the thread? in java