They asked me to explain the difference between an abstract class and an interface in Java.
Anonymous
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.
Check out your Company Bowl for anonymous work chats.