Question: Find the syntax errors in the following class definition class BonusQuestions { public }; private; //Line 1 //Line 2 //Line 3 bool canGraduate(); void
Find the syntax errors in the following class definition class BonusQuestions { public }; private; //Line 1 //Line 2 //Line 3 bool canGraduate(); void print() const; void BonusQuestion(int=0, double=0); // Line 6 //Line 7 int ID; double gra //Line 4 //Line 5 //Line 8 //Line 9 //Line 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
