Private class

Class B is derived from class A privately; can a public member of class A be accessed directly in class B?
Write it and try to compile it and see what happens.
I think the answer is yes, but i am not sure why
Topic archived. No new replies allowed.