Java · Writing classes
A constructor gives each new object the right values the moment it is made, instead of a line of fixes after every new.