0
Whats is constructor?????
2 Answers
+ 2
Please refer
https://www.sololearn.com/Discuss/28642/?ref=app
0
that is afunction with the same name as his class
class student
{
int id;
public student(int i)
{
id =i;
}
}
}
and it could have no parameter