runnable interface
1 posts in topic
Flat View  Flat View

Posted By:   srinivas_malli
Posted On:   Tuesday, June 21, 2005 06:23 AM

when we have to implement runnable interface and when we have to extend thread class

Re: runnable interface

Posted By:   ankush_purwar  
Posted On:   Thursday, June 23, 2005 11:24 AM

If you use Runnable interface then you have an option that implementing class can extend a class.

But in case of extending Thread you don't have such an option.

But again it depends how you design your system.
About | Sitemap | Contact