Methods of the Thread class
- Thread() Fcreates a thread object using default values for all option
- void run() : the method that is executed by the newly created thread. It can be considered as a main() of the newly created thread. This method should be over-ridded by the code that is executed by the new thread.
- void start() : creates a new thread and executes run() method that is defined in this thread class