True or false: when an object is allocated, all fields are set to a default value determined by their type.

Each field gets set to a default value immediately after the memory for an object is allocated. The default value is based on the type of the field: numeric types get set to 0, Boolean fields are set to false, characters are set to the null character '\0', and references are set to null.