2
Answers

Is this possible in .NET .Please reply ?

Rohti Ambani

Rohti Ambani

16y
2.1k
1

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)