quirozmiguel26611 quirozmiguel26611
  • 14-09-2019
  • Computers and Technology
contestada

What is the purpose of a mutator?

Respuesta :

ExieFansler ExieFansler
  • 19-09-2019

Answer:

To change the value of private or protected members.

Explanation:

Mutator also known as setters are the member function or method in class that is used to set or change the value of private or protected members. Mutator does not return any values. They are very important in Object Oriented Programming.

Answer Link

Otras preguntas

What's 63,889 rounded to the nearest hundred
Some people feared that the acquisition of new territory in the Mexican Cession would A. make the issue of slavery worse. B. create problems with Mexico. C. lik
the sum of the least and greatest of three consecutive integers is 72. what are the three integers?
How do you divide fractions?
how to decompose this fraction 3/6
Please Help Me Which numbers belong to the domain of the relation {(0, –4,) (–6, 2), (2, –1), (0, –6)}? Choose all answers that are correct. A. 2 B. 0 C. –4
4(n+1)=24 solve the equation
Ronnie wants to buya computer table that measures 10 feet by 17 feet.The cost of the table is $16 per square foot.How much will it cost Ronnie to buy the comp
12. A heterogeneous mixture is a A. mixture in which its components can't be separated. B. component added to sand that makes it inseparable. C. mixture tha
Lois made a dish with 6 1/2 cups of pasta. One serving of the pasta is 0.2 cups. How many servings of pasta were in the dish Lois made? A. 31 2/3 B. 9 C. 24 D.