Question: 8. (True/False) The following is syntactically valid and makes semantic sense when deriving an employeeType class from the base class personType: class employeeType: public personType

 8. (True/False) The following is syntactically valid and makes semantic sense

8. (True/False) The following is syntactically valid and makes semantic sense when deriving an employeeType class from the base class personType: class employeeType: public personType \{ public: void setInfo(string, string, string, double, string, string); void setSalary(double); void setDepartment(string); void setCategory(string); void setID(string); double getSalary() const; string getDepartment(string) const; string getCategory()const; string getID()const; private: string department; double salary; string employeeCategory; string employeeID; \} A. True B. False 8. (True/False) The following is syntactically valid and makes semantic sense when deriving an employeeType class from the base class personType: class employeeType: public personType \{ public: void setInfo(string, string, string, double, string, string); void setSalary(double); void setDepartment(string); void setCategory(string); void setID(string); double getSalary() const; string getDepartment(string) const; string getCategory()const; string getID()const; private: string department; double salary; string employeeCategory; string employeeID; \} A. True B. False

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!