Programming Languages
Java
Subjective
Sep 24, 2025
What is the difference between abstract class and interface?
Detailed Explanation
Abstract Class: Can have both abstract and concrete methods, can have constructors, can have instance variables, supports single inheritance. Interface: All methods are abstract by default (before Java 8), cannot have constructors, all variables are public static final, supports multiple inheritance.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts