C Sharp (C#) - Interfaces
Identify the error in this code snippet:
interface IA { void Run(); }
interface IB { void Jump(); }
class Player : IA, IB {
public void Run() { Console.WriteLine("Running"); }
}Identify the error in this code snippet:
interface IA { void Run(); }
interface IB { void Jump(); }
class Player : IA, IB {
public void Run() { Console.WriteLine("Running"); }
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions