Which is most appropriate comment on following class definition ?
Class Student
{
int a;
public : float a;
};
1
Error same variable name can't be used twice
2
Error Public must come first
3
Error data types are different for same variable
4
It is correct