Can one interface inherit another interface?
- Yes, interfaces can inherit from other interfaces, forming a hierarchy.
interface IFlyable { void Fly(); }
interface IAdvancedFlyable : IFlyable { void Loop(); }
interface IFlyable { void Fly(); }
interface IAdvancedFlyable : IFlyable { void Loop(); }