Question: class Student string first, last; int age, ID; double GPA; public: Student(); Student(string frst, string Ist, int idNum, int ag, double gp, string cName, int

class Student string first, last; int age, ID; double GPA; public: Student(); Student(string frst, string Ist, int idNum, int ag, double gp, string cName, int cZip): static void getlnstance(istream & in, Student & S); const string getLastName() const; bool setLastName(const string& inLastName); //other class functions Q. 1. Which data members in above class have public access (if any)? Q. 2. Which data members in above class have private access (if any)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
