¡@

Home 

java Programming Glossary: studentbuilder

Managing constructors with many parameters in Java 1.4

http://stackoverflow.com/questions/222214/managing-constructors-with-many-parameters-in-java-1-4

might help. Consider the following example public class StudentBuilder private String _name private int _age 14 this has a default.. private String _motto most students don't have one public StudentBuilder public Student buildStudent return new Student _name _age _motto.. buildStudent return new Student _name _age _motto public StudentBuilder name String _name this._name _name return this public StudentBuilder..