Domanda di colloquio di Cisco

interface vs abstract class

Risposta di colloquio

Anonimo

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