+1 vote
in JAVA by

Explain different way of using thread in Java?

1 Answer

0 votes
by

A Java thread could be implemented by using Runnable interface or by extending the Thread class. The Runnable is more advantageous, when you are going for multiple inheritance.

Related questions

0 votes
asked Oct 9, 2020 in JAVA by SakshiSharma
0 votes
asked Jan 24, 2020 in JAVA by rahuljain1
...