Frage im Vorstellungsgespräch bei Datto

Difference between an Interface and Abstract Class

Antwort im Vorstellungsgespräch

Anonym

29. Apr. 2015

Interfaces define method signatures and not their implementation, it's a "contractual template" for other classes to implement. The implementing class must implement all methods. Abstract classes define method signatures and partial implementation/behaviour ("guidelines"). Good base/core classes for others to extend from.