There are 2 ways in which a thread can be
created. By extending the Thread class wherein the subclass needs to override the run
method. Then just an instance of that class needs to be created and
[classname].start() would start it running.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
By extending the Thread class wherein the subclass needs to override the run method. Then just an instance of that class needs to be created and [classname].start() would start it running.