What are the different ways of creating threads in java?
There are two ways to create the threads in java
a) By extending java.lang.Thread class.
b) By implementing java.lang.Runnable interface.
More on Threads in Java
https://javaconceptoftheday.com/creating-threads-in-java/