LogiQuest
Back to Constructors
9

What is the output of the following program?

var x = new D();
class B { public B() { Console.Write("B"); } }
class D : B { public D() { Console.Write("D"); } }
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.