What is difference between abstract class and interface.


=> Abstract class can have concrete methods while interface have no methods.

=> Interface do not come in inheriting chain , while abstract class come in inheritance.

=> An interface cannot have access modifiers for the subs, functions, properties etc everything is assumed as public. While An abstract class can contain access modifiers for the subs, functions, properties

Share

& Comment

0 comments:

Post a Comment

 

Copyright © 2019 HART™ is a registered trademark.