Question: In the following class example: class Student public: Student(string n, double ) { name = n; spa = 5 } private: string name; double gpa;

In the following class example: class Student public: Student(string n, double ) { name = n; spa = 5 } private: string name; double gpa; }; What kind of function is "Student(string n, double g)"? Accessor Mutator Constructor O Helper
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
