Following are the differences between shadowing and overriding :-
√ Overriding redefines only the implementation while shadowing redefines the
whole element.
√ In overriding derived classes can refer the parent class element by using “ME”
keyword, but in shadowing you can access it by “MYBASE”.
This blog is for .NET and related web technology, where you will find some really good and time saving answers which can help you to make your fundaas clear.
Monday, February 13, 2012
Difference between Shadowing and Overriding
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment