Threads can be created in 2 ways.
1. Extend the Thread class and override the run() method with your business logic
2. Implement the Runnable interface and provide the implementation in the run() method.