Thread
:
Method Overriding rules!!!
View Single Post
xs2vipin.bansal
Newbie Member
30Apr2010,12:17
Hi Shabir,
This code will not compile as Superbase is in higher hierarchy as compared to Derived. You cant narrow the scope but can widen it. you are narrowing the scope of getIt() in derived class, SubCovTest2.