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:
Post a Comment