Skip to content

EasyConceptJava and JVM

What is the difference between an interface and an abstract class in Java?

What a good answer covers

An interface defines a contract and a class can implement many; an abstract class can hold state and constructors but a class extends only one. Since Java 8 interfaces may contain default methods.

More on Java and JVM

Flashcards for this topic