They allow controlled access and modification of object state.
Instance methods encapsulate the logic required to interact with an object's fields, ensuring that any changes are made through controlled interfaces. For example, a `CartItem` class might have a `calculateLineTotal` method that multiplies quantity by unit price, ensuring the calculation logic is always applied consistently.
Additional Notes
How do instance methods enhance data encapsulation?