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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!