Examveda
Examveda

A mutator method is also called as.

A. Setter

B. Accessor

C. Getter

D. Destructor

Answer: Option A

Solution(By Examveda Team)

An accessor method is called getter. The common use of a mutator method is to initialise the value of member variables of a class.

This Question Belongs to PHP >> Object Oriented Concept

Join The Discussion

Related Questions on Object Oriented Concept