Computer Science, asked by shivanshpachauri00, 6 months ago

Why is it recommended for accessor function to read and write the attributes of object​

Answers

Answered by DebbiePotter
1

Explanation:

In computer science, a mutator method is a method used to control changes to a variable. They are also widely known as setter methods. Often a setter is accompanied by a getter (also known as an accessor), which returns the value of the private member variable.

Similar questions