PrepZone Logo
PrepZone
Back to Java

Java · Medium

Differentiate between Abstract Class and Interface. When should you use which?

JavaOOP

Answer preview

State — Abstract classes can hold instance variables and constructors; interfaces can only declare constants (public static final).…