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...

can u override the start() method of Thread class

Answer Posted / subhareddy

we can override start() method present in Thread class.but
we have to follow following steps:

1) first our class must extend thread class.
2)then we have to override thread class start() in such way
that :
a) It should instantiate and register our new thread with
thread scheduler.
b) it should call run() method.(it may be our overridden
run method or thread class run() method)

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of operators are there?

965


Write a program to find the greatest of three numbers in java?

982


Name component subclasses that support painting in java programming?

1045


Can we create constructor in abstract class ?

1028


Differentiate between class and structure.

1107


What is the meaning of nullable?

1001


Is java a pure object oriented language?

950


How do you reverse sort a list in java?

923


Why we use multi threading instead of multiprocessing?

1048


Is alive in java?

927


What are the benefits of java?

1114


What is a classloader in java?

999


Is null a string or object in java?

949


What is an accessor?

1663


How can you generate random numbers in java?

1033