__________ Method begins with set.

Options
- Accessor
- Mutator
- Both a and b


CORRECT ANSWER : Mutator

Discussion Board
Mutator method

Mutator method begins with set. It is 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.

Prajakta Pandit 02-22-2017 07:01 AM

Write your comments

 
   
 
 

Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement