Difference between an interface and an abstract class
Two most important differences are:
1. A class can implement several interfaces but can inherit from a single abstract class (or any class for that matter)
2. Interfaces do not contain any implementation while abstract classes can contain some default implementation of methods.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment