Q: Explain the difference between an abstract class and an interface in Java.
Anónimo
I explained that abstract classes can have both abstract and non-abstract methods, while interfaces contain only abstract methods (before Java 8). I also mentioned that interfaces support multiple inheritance, unlike abstract classes