DEVFYI - Developer Resource - FYI

Explain different way of using thread?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

464. 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.

(Continued on next question...)

Other Interview Questions