This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

start() in Thread class  RSS feed

 
Srinivas Kothuri
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm surprised and willing to know the reason why the "start()" method is not made final in Thread class.
Please help me in understanding this.

Thank you.
 
Stephan van Hulst
Saloon Keeper
Posts: 7821
142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Personally I'm surprised the entire class isn't final.
 
Rob Spoor
Sheriff
Posts: 21095
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's probably a leftover from the "old days" when they advised extending Thread instead of using Runnable. Which I agree is a bad idea.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!