Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

while creating thread why we extend thread class

Answer Posted / pamal janveja

To create User Defined thread, We requires features of thread
and java provide us Thread class.
We simply over right its run method and called this by start method which internally call to run method.
Similarly using other methods of Thread class , we can create,access and delete user defined thread.

Note:- Without Thread class or Runnable interface , We can not create User defined Thread.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can the garbage collection be forced by any means?

943


What are the special characters?

935


What are the 5 types of research methods?

1100


How do you remove duplicates in java?

961


Why should we use singleton pattern instead of static class?

895


Why is the type for real numbers called double?

917


Difference between java and javascript

1039


Why we used break and continue statement in java?

1072


Why to use nested classes in java?

1054


What is the purpose of using break in each case of switch statement?

969


What are some characteristics of interference class?

955


In how many ways we can do exception handling in java?

940


How many bits is a string in java?

977


What is the benefit of lambda expressions?

980


How do you identify independent and dependent variables?

945