2
Reply

Is this possible in .NET .Please reply ?

Rohti Ambani

Rohti Ambani

Oct 10 2008 5:24 AM
2.1k

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)