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

What are the basic concepts of OOPS in java?

1085


Do I need java on my computer?

1019


Why java is considered dynamic?

1218


os is developed in c no java is more secured then c na why dont the os developed is developed using java

4300


What is the purpose of javac exe?

1146


What are abstract methods in java?

1165


Does printwriter create a file?

1008


Explain hashset and its features?

1210


What is used of static keyword in java?

1134


Print Vertical traversal of a Binary Tree.

1060


Does java support function overloading, pointers, structures, unions or linked lists?

1157


What is the difference between yielding and sleeping?

1175


What is function and method in java?

995


Is null a value?

1093


Why does java not support pointers?

1169