PrepAway - Latest Free Exam Questions & Answers

You have implemented a class CL_CUSTOMER in which you defined a private attribute.

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

A. From all methods of all subclasses of CL_CUSTOMER

B. From all methods of the class CL_CUSTOMER

C. From all methods of a class to which CL_CUSTOMER grants friendship

D. From any program using the class CL_CUSTOMER


Leave a Reply

Your email address will not be published. Required fields are marked *