Question: Question 3 Consider the C + + class definition below. Which of the following statements is true? ` ` ` class Employee { public: private:
Question
Consider the C class definition below. Which of the following statements is true?
class Employee
public:
private:
;
Member functions are usually in the public portion of the class.
The access specifier private, identifies a good place for member functions.
The access specifier private, identifies a good place for global variables.
The private keyword is sometimes replaced by the protected keyword for more protection.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
