Question: what are the two different ways to create multithreaded program?
Answer: Extends Thread class. Create a thread by a new class that extends Thread class and create an instance of that class. ... 
Implementing the Runnable Interface. The easiest way to create a thread is to create a class that implements the runnable interface.