Advantages of Implementing Runnable over extending Thread
In java there is no multiple inharitence. So if we extend thread class, we can not extend some other. If we use Runnable interface. We can implements any no. of interface. Category:Java Interview Questions
No comments:
Post a Comment