Pregunta de entrevista de Cisco

interface vs abstract class

Respuesta de la entrevista

Anónimo

21 ene 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