Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
The setMake method is a function or procedure that allows us to assign a value to the make attribute of an object. It is used to update or modify the make of the object.
Related terms
getMake method: This method retrieves and returns the current value of the make attribute from an object.
make attribute: This refers to a variable or property that stores and represents the brand or manufacturer of an object.