Hi
i find Following statement while reading Design pattern in C++
( author - Erich Gamma)
"Inheritance break Encapsulation " because inheritance exposes to
subclass the detail of its parent's Implementation
Is it correct ???
as we only expose interface ( function prototype) to derived class But
not how it being implemented
Kindly give urs View regarding it
Thanks
Pallav