nerdexam
SAP

C_TAW12_750 · Question #31

Which statements are true about a class that has granted friendship to another class? Select all that apply.

The correct answer is A. The friend has access to private attributes. B. The friend has access to public attributes. C. All classes that inherit from the friend (subclasses) also have the same '--' access. D. The friend has access to protected attributes. See the full explanation below for the reasoning.

Question

Which statements are true about a class that has granted friendship to another class? Select all that apply.

Options

  • AThe friend has access to private attributes.
  • BThe friend has access to public attributes.
  • CAll classes that inherit from the friend (subclasses) also have the same '--' access.
  • DThe friend has access to protected attributes.
  • EAll classes the friend has granted friendship access status to also have the '--' same access.

How the community answered

(21 responses)
  • A
    86% (18)
  • E
    14% (3)

Community Discussion

No community discussion yet for this question.

Full C_TAW12_750 Practice