We can create a thread in 2 way:
This class has a collection of constructors & methods to create and perform the various operation on the thread.it extends object class & implements the runnable interface.
Some common constructors,
Thread() Thread(String name) Thread(Runnable r) Thread(Runnable r,String name)
The runnable interface can be implemented by the class of instances that are intended to be executed by a thread. it has only run() method to perform an action for a thread.