成员变量

成員變量
chéngyuán biànliàng
noun

Measure Word

Meanings

  1. 1 member variable (OOP)
  2. 2 instance variable
  3. 3 field

Examples

Chéngyuán biànliàng yīnggāi shè wéi sīyǒu.
Member variables should be set to private.
Zhège lèi yǒu sān gè chéngyuán biànliàng.
This class has three member variables.

Tips

usage
成员 (member) + 变量 (variable). A class's member variables are its fields; its member functions are 成员函数 (chéngyuánhánshù) or 方法 (fāngfǎ, methods).

Stroke Order

chéng
yuán
biàn
liàng