Vendasta Interview Question

They asked me to explain the difference between an abstract class and an interface in Java.

Interview Answer

Anonymous

Apr 22, 2025

I explained that an abstract class can have both abstract and concrete methods, while interfaces can only have abstract methods (before Java 8). I also mentioned that Java 8+ interfaces can have default and static methods. I highlighted that a class can implement multiple interfaces but can only extend one abstract class.