Constructors
nCan be used to set the initial values of an objects properties.
nExamples:
uA counter’s initial value of 0.
uAn explorer’s initial name, location, strength, and stamina.
n