成员变量

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

Measure Word

Meanings

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

Examples

Chéngyuánbià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ánbià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