punjabtechnicaluniversity.blogspot.in
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”.
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”.
0 comments:
Post a Comment
North India Campus