Public base
What is wrong with the following code? (8)class classA //Line 1 protected: //Line 2 void setX(int a); //Line 3 //Postcondition: x = a; //Line 4 private: //Line 5 int x; //Line 6 ; //Line 7 . . . int main() //Line 8 //Line 9 classA aObject; //Line 10 aObject.setX(4); //Line 11 return 0; //Line 12 […]