EXPLAIN DIFFERENT WAY OF USING THREAD?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
Java 
 1113  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    Explain different way of using thread?

    The thread could be implemented by using runnable interface or by inheriting from the Thread class. The former is more advantageous, 'cause when you are going for multiple inheritance, the only interface can help.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!