Method:A method is a function associated with an object or class that performs certain actions when called upon.
Attribute value: An attribute value represents the current state or data stored within an attribute.
Update: To update means to modify or change something, such as updating the value of an attribute using the setWeight method.