Saturday 23 June 2012

Class B is derived from class A. Function f is A's friend. Is f B's friend as well?

No. Friendship cannot be inherited.

No comments:

Post a Comment