Question: Question 7 If data members are private, what can we do to access them from the class object? Your answer: O Private data members can

Question 7 If data members are private, what can we do to access them from the class object? Your answer: O Private data members can always be accessed from outside the class O Create protected member functions to access those data members O Create private member functions to access those data members O Create public member functions to access those data members You can never access data members from the class object
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
