Computer Science, asked by Saketss6800, 10 months ago

Which method.is used for.change state of.object

Answers

Answered by tushirakshay06
0

Answer:

mutator method

Any message that changes the state of an object is known as a mutator method.

New states can be added by defining new state classes. A class can change its behavior at run-time by changing its current state object.

Similar questions