A class ‘ZCL_CLASS1’ is added as a ‘FRIENDS’ of the class ‘ZCL_CLASS2’ in the global class definition of the latter. Which of the following is true?

The class ‘ZCL_CLASS1’ can execute only the protected methods of ‘ZCL_CLASS2’.
The class ‘ZCL_CLASS1’ can execute only the private methods of ‘ZCL_CLASS2’.
The class ‘ZCL_CLASS1’ can execute the private and protected methods of ‘ZCL_CLASS2’.
The class ‘ZCL_CLASS1’ cannot execute the private and protected methods of ‘ZCL_CLASS2’.
Verified Answer
Correct Option - c

To get all Infosys Certified SAP ABAP Objects Professional Consultant Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram