which one the better thread emplemented thread or extended ?

Answer Posted / anand

its better to use runnable
interface....
using this interface
multithreading is became
possible in java

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is considered an anti pattern?

529


Explain about sets?

569


What is a variable analysis?

640


Can a function return a function?

550


What is charat java?

542






What is the difference between a factory and abstract factory pattern?

683


How do you sort a string in alphabetical order in java?

533


Is set ordered in java?

572


What is unmodifiable list in java?

534


How do you remove duplicates from an array in java?

527


What is a newline character in java?

566


What are benefits of java?

556


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

3790


What are the types of collections in java?

539


What is reverse function?

574