An Abstract Class is a special class which cannot be instantiated. It used to create more general class. So a subclass can inherit it and create more specialized version of the abstract class.
An Interface is not a class. If you need to implement an interface then you need to provide implementation for all the methods it provides.
0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment