what is "shadow" in OOAD?
I was asked this question. I don't remember if the interviewer said "shadow" or "shadowing". but the word "shadow" was definitely there. and it was a purely OOAD interview.
Thanks for all help.
Indrajit
Managers often use shadow resources (hidden from view but still functioning) in order to speed up the project work keeping budget unaffected.
Moment you extend a base class, all non-private attributes are shadowed (i.e. hidden from view but still accessible) in child class. The methods can be overridden & once you do, they become completely invisible. Although you can touch them explicitly inside the overriding method. However, this is the difference between shadowing & overriding.
This terminology is used in .Net space of OOAD because of term virtual (which isn't in Java because every method by default is virtual).
Anup Jani
