Frage im Vorstellungsgespräch bei Cisco

interface vs abstract class

Antwort im Vorstellungsgespräch

Anonym

21. Jän. 2015

Interface is to define the specifications so by default all method of interface are public final and static and all method are public and abstract so for interface the method defination is given by its implementation class but abstract class can contain abstract method as well as concrete method. but you cannot create object of abstract class.

1