Explain it in 60 seconds
Interfaces vs abstract classes
Backend Engineering · OOP and Design Patterns · Beginner
What is the difference between an interface and an abstract class?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Interface: contract of methods, no state (mostly).
- Abstract class: partial implementation, can hold state.
- Class can implement many interfaces.
- Usually extend one abstract class.
- Prefer interfaces for contracts.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.