Method (computer programming): Difference between revisions

Content deleted Content added
m Operator methods: decapitalise
Line 51:
<syntaxhighlight lang="java">
public class Main {
String name_name;
int roll_roll;
 
Main(String _namename, int _rollroll) { // constructor method
this.name = _name;
this.roll_name = _rollname;
this._roll = roll;
}
}
}
</syntaxhighlight>