Cisco Interview Question

interface vs abstract class

Interview Answer

Anonymous

Jan 21, 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