aspose file tools*
The moose likes Threads and Synchronization and the fly likes What is The use of Thread class constructors? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "What is The use of Thread class constructors?" Watch "What is The use of Thread class constructors?" New topic
Author

What is The use of Thread class constructors?

shankara me
Greenhorn

Joined: Nov 30, 2012
Posts: 14
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

Joined: Apr 19, 2013
Posts: 199
    
    1
Hi,

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



Best regards,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is The use of Thread class constructors?