Rohti Ambani

Rohti Ambani

  • NA
  • 10
  • 0

Is this possible in .NET .Please reply ?

Oct 10 2008 5:24 AM

Class A()

{

 function Test()

{

                Msg(Base Class);

}

}

Class B Inherits from A()

{

                {

                Msg(“Child Class”);                         

}

}

 

A a = new B()

Can this is possible. If Yes what msg it will show and why?


Answers (2)