Saved Bookmarks
| 1. |
Which is most appropriate comment on following class definitionClass student{int a;public:float a;}; |
|
Answer» Answer: DISCUSSION Forum Que. Which is most appropriate comment on following class definition : class Student { int a; PUBLIC : float a; }; b. Error : Public must come first c. Error : data types are different for same variable d. It is correct Answer:Error : same variable NAME can't be used twice |
|