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.
Liked By
Write Answer
Explain how to create a thread and start it running.
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
26-Jan-2015By 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.