Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread

 
srinivas sridaragaddi
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator




here what i was expecting a runtime error as the same
thread is started again i
 
ahmed yehia
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are two different threads, each call to 'new' would create a new thread object.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic