mutator
英 [mju(ː)ˈteɪtə]
美 [ˈmjuˌteɪtər]
词性
名词
基本解释
n.=mutator gene
网络释义
a function or method that changes the value of one or more properties of an object in a programming language.
例证
1. The mutator method allows us to modify the value of the object's private member variable.
2. In object-oriented programming, mutators are commonly used to enforce data encapsulation and control access to an object's properties.
2. In object-oriented programming, mutators are commonly used to enforce data encapsulation and control access to an object's properties.