Difference between abstract class and interface?

 Updated on October 16, 2014     VIKRAM     726
Abstract class Interface
It is partially unimplemented It is fully unimplemented
Complete abstraction not possible Complete abstraction is possible
Constructors are allowed Constructors are not allowed
Data members are allowed Data members are not allowed
Object can not be created Object can not be created for interface
Access modifiers are allowed in abstract class, by default private will be considered. Access modifiers are not allowed for members of interface, by default each member will be public

If you enjoyed this post, please like (or) share this article.


Comments