Question: i The following code has some errors. Please correct them class Hotel public void hotel() // constructor int setName(char *); // set hotel name char
i The following code has some errors. Please correct them class Hotel public void hotel() // constructor int setName(char *); // set hotel name char getName(); // return hotel name private char name [80]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
