+ 1

Abstract class and Interface. Difference?

I'm confused. A clear explanation please? maybe with an example?

28th Dec 2016, 2:56 AM
Deep chand
Deep chand - avatar
1 Réponse
+ 1
An abstract class is similar to an interface in that it defines what methods a class has, however, abstract classes can have properties and implemented methods. They also can have static attributes which interfaces cannot.
28th Dec 2016, 3:05 AM
James Durand
James Durand - avatar