C Sharp (C#) - Interfaces
What is the output of this code?
interface ITest { void Print() => Console.WriteLine("Interface"); } class Test : ITest { } class Program { static void Main() { ITest t = new Test(); t.Print(); } }
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions