Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

why do we require start and run method in threads

Status
Not open for further replies.

karunakarrao9

Programmer
Mar 23, 2004
3
0
0
IN
why actually we require both of theese methods does one method can't do all these stuff
 
Thread.run() means the calling class waits for the thread to execute. Thread.start() means it doesn't.
 
Thread.run() doesn't actually server the new thread from the current thread like Thread.start() does, right?
 
JavaDude32 : not actually sure - the API doc is not overly clear about it - anybody got any links ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top