Rajesh Singh
Q1. What will be output of following program? public class Base{public Base(){Console.WriteLine('Base');}}public class Derived : Base{public Derived(){Console.WriteLine('Derived');}}Public Class Main {static void Main(string[] args) {Derived obj=new Derived()} }
By Rajesh Singh in C# on Nov 15 2015
  • Rajesh Singh
    Nov, 2015 15

    Ans: Base ,Derived

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS