Pergunta de entrevista da empresa IBM

What is the difference between an interface and an abstract class with only abstract methods?

Resposta da entrevista

Sigiloso

16 de ago. de 2021

An abstract class can provide an implementation for some methods and abstractions of others while an interface only provides abstractions that have to be implemented in the classes which extend them