What is the role of abstract classes in abstraction?
Abstract classes provide a base for subclasses to extend, and they can contain both abstract and concrete methods to partially implement functionality.
Great! Youâ€™ve correctly explained the role of abstract classes in abstraction.
Can you give an example where an abstract class is preferred over an interface for abstraction?