Question: Find the syntax errors in the following class definition. ( 1 , 2 , 5 ) Submit your answer to dropbox. class syntaxErrors 2 /

Find the syntax errors in the following class definition. (1,2,5) Submit your answer to dropbox. class syntaxErrors2//Line 1
{//Line 2
public: //Line 3
bool canGraduate(); //Line 4
void print() const; //Line 5
void syntaxErrors2(int =0,
double =0); //Line 6
private; //Line 7
int ID; //Line 8
double gpa; //Line 9
}; //Line 10

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!