Thursday, February 12, 2009

Explain different way of using thread

Question :Explain different way of using thread?
Answer :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.

No comments: