Mid From PDF OOP C# OOP

Can abstract classes implement interfaces?

  • Yes, abstract classes can implement interfaces partially or fully.
  • Derived classes must implement any remaining abstract members.
interface IDriveable { void Drive(); }

bstract class Vehicle : IDriveable { public abstract void Drive();

}
class Car : Vehicle { public override void Drive() =>

Console.WriteLine("Car drives"); }

More from C# Programming Tutorial

All questions for this course
Toolliyo Assistant
Ask about tutorials, ebooks, training, pricing, mentor services, and support. I use public site content only—not admin or internal tools.

care@toolliyo.com

Need callback? Share your details