Which statements are true about a class that has granted friendship to another class? Select all that apply.
选项:
A:The friend has access to private attributes.
B:The friend has access to protected attributes.
C:The friend has access to public attributes.
D:All classes the friend has granted friendship access status to also have the same access.
E:All classes that inherit from the friend (subclasses) also have the same access.
发布时间:2024-05-14 19:41:52