Pergunta de entrevista da empresa ID Analytics

Difference between abstract class and Interface.

Respostas da entrevista

Sigiloso

20 de jan. de 2017

An abstract class can have both abstract and normal methods. Any class that derives from an abstract class HAS to implement the abstract methods however it need not implement the non-abstract methods. All methods in an interface are abstract by default and any class that implements an interface must provide method body for all the methods of the interface.

1

Sigiloso

2 de fev. de 2017

Can you tell what were the onsite questions? Thanks