the scope of a class within another class

Hi

Given that class B is defined within class A, does B have access to the private members of class A?

Thanks a lot

Soheil
NO.
Nested classes have no 'special' privileges with respect to the enclosing class (likewise the enclosing class has no special privileges with respect to the nested class)
I see. Thanks a lot for your help :)
Topic archived. No new replies allowed.