which one the better thread emplemented thread or extended ?

Answer Posted / ravikiran

implementing runnable interface is a bettr practice

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between add() and addelement() in vector?

1052


Does java trim remove newline?

524


What is difference between char array and string?

508


Can we inherit inner class?

513


What is the benefit of abstract class?

505






Outline the major features of java.

557


What is the static keyword?

575


What is a consumer in java?

551


what is comparable and comparator interface?

561


What does string [] args mean?

529


Does apple use java?

483


How many techniques can be employed to create a string object?

542


What is the use of accept () method in java?

593


Which are different kinds of source code?

644


Which java version is latest?

526