Two way of creating the thread in java are: * Extending the Thread class * Implementing the Runnable Interface.Both ways provides the same functionality.But itis better to implement the Runnable interface, because if you extends the Thread class you willnot be able to extend any other class. One classcan extends only a single class but can implements many interfaces.