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:

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

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!