Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is The use of Thread class constructors?

 
shankara me
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
There are two constructors in Thread class like
1)public Thread();
2) public Thread(String name)
-->What is the use of above constructors ?
-->Actually they are useful for creating objects for Thread class(not for subclass of Thread class).What is The use of creating objects for Thread class(not for subclass of Thread class)?
 
Carles Gasques
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I hope that the code of a subclass of thread will be self explanatory



Best regards,
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic