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.Dot Net Office
Oops Tutorials in C#
Part 7 -Method hiding Vs Method overriding | Oops Tutorials in C# | Oops Concept
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »
Subscribe to:
Post Comments (Atom)
EmoticonEmoticon