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

Explain about assignment statement?

1070


What is meant by local variable and instance variable?

1053


What is difference between call by value and call by reference?

1068


What is string :: npos?

1178


When will you define a method as static?

1140


What is the instance of an object?

1269


Are variables stored in ram?

1063


Explain the scope of a variable.

1149


What are checked exceptions?

1080


Which arithmetic operations can result in the throwing of an arithmeticexception?

1060


What are thread local variables?

1232


What is a class in java?

1058


What is empty string literal in java?

1107


What do you know about the garbage collector in java?

1133


Why runnable interface is used in java?

1195