Mid OOP

When should you prefer abstract class over an interface?

  • When you want to share common code among related classes.
  • When you need fields or constructors.
  • When future changes may require adding non-breaking methods.

More from C# Programming Tutorial

All questions for this course