Explain different way of using thread?

Q

Explain different way of using thread?

✍: Guest

A

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.

2013-04-24, 1829👍, 0💬