Method (computer programming): Difference between revisions

Content deleted Content added
Line 48:
int roll;
Main(String _name, int _roll) { //constructor method
(this).name = _name;
(this).roll = _roll;
}