IBM Interview Question

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

Interview Answer

Anonymous

Aug 16, 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