diff between abstract class and interface
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   pravin_sahu
Posted On:   Monday, March 6, 2006 01:11 AM




everybody says we achieve runtime polymorphism through


interface and is not possible through abstract class, how?


give me an example and tell me the vital difference?


which one is used frequently and why?

Re: diff between abstract class and interface

Posted By:   Mudit_Agarwal  
Posted On:   Wednesday, May 17, 2006 07:43 PM

In interface all methods become abstract but in abstract class only one method would be adstract its not hard n fast at least one method should be abstract..............

Secound thing we can gernilize the functionality through interface according to our business logic but its not possible through abstract class

Re: diff between abstract class and interface

Posted By:   ankush_purwar  
Posted On:   Monday, March 6, 2006 01:43 PM

who says "runtime polymorphism through
interface and is not possible through abstract class"

you can also acheive runtime polymorphism through abstract class.
About | Sitemap | Contact