Part 7 -Method hiding Vs Method overriding | Oops Tutorials in C# | Oops Concept

 In method Overriding a base class reference variable pointing to a derived class object, that will invoke the overridden method in the derived class.

In method Hiding a base class reference variable pointing to a derived class object, that will invoke the Hidden method in the base class.



Share this

Related Posts

Previous
Next Post »