SAP
C_TAW12_740 · Question #39
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
(57 responses)- A9% (5)
- B70% (40)
- D21% (12)
Community Discussion
No community discussion yet for this question.