nerdexam
SAP

C_TAW12_71 · Question #399

You have implemented a class CL_CUSTOMER in which you defined a private attribute. From where can you access this attribute directly? (Choose two)

The correct answer is B. From all methods of the class CL_CUSTOMER C. From all methods of a class to which CL_CUSTOMER grants friendship. See the full explanation below for the reasoning.

Question

You have implemented a class CL_CUSTOMER in which you defined a private attribute. From where can you access this attribute directly? (Choose two)

Options

  • AFrom all methods of all subclasses of CL_CUSTOMER
  • BFrom all methods of the class CL_CUSTOMER
  • CFrom all methods of a class to which CL_CUSTOMER grants friendship
  • DFrom any program using the class CL_CUSTOMER

How the community answered

(27 responses)
  • A
    19% (5)
  • B
    74% (20)
  • D
    7% (2)

Community Discussion

No community discussion yet for this question.

Full C_TAW12_71 Practice