SAP
C_TAW12_731 · Question #59
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
(44 responses)- A11% (5)
- B70% (31)
- D18% (8)
Community Discussion
No community discussion yet for this question.