Tú Linh Nguyễn
New member
Which is most appropriate comment on following class definition?
A. Error : same variable name can’t be used twice
B. Error : Public must come first
C. Error : data types are different for same variable
D. It is correct
Code:
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