Constructor
A method that initializes the fields of an instance of a class when the instance is created.
Syntax: // Comment that explains what the constructor does.
public <class name> (<parameters>)
{Sequence of statements to execute}
Example (within class Employee):
// Constructor: an Employee with name n,salary 0, and year hired d
public Employee Employee (String n, int d);
{name= n; salary= 0; yearHired= d;
Example use (when creating a new instance):d = new Employee(�Millett�, 1999);