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
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|
Answer / guest
|Is This Answer Correct ?||0 Yes||4 No|
There are 2 different ways to create an object. a)By using keyword "new" b)By using Class.forName ("className").newInstance(); What is the difference between these 2 methods.
What is string value?
What about main() method in java ?
What are the core java topics?
State two differences between C and Java.
Which software is used for java programming?
What is the use of System class?
What are filterstreams?
Difference between string, stringbuffer and stringbuilder?
What is string length in java?
what is difference between String buffer and String builder?
What is the use of runnable interface?