What are the different ways of implementing thread? Which one is more advantageous?

Solution:

The thread can be implemented by Using runnable interface Inheriting from the Thread class. The use of the Runnable interface is more advantageous because when going for multiple inheritances, the only interface can help.

0 answers