静态变量

靜態變量
jìngtài biànliàng
noun

Measure Word

Meanings

  1. 1 static variable

Examples

HSK 7-9
Jìngtài biànliàng shǔyú lèi, bù shǔyú shílì.
A static variable belongs to the class, not to an instance.
HSK 7-9
Jǐnliàng shǎo yòng quánjú jìngtài biànliàng.
Try to avoid global static variables.

Tips

usage
Paired with 动态变量 (dynamic variable) or 实例变量 (instance variable). 静态 = 'still/unchanging state' - the variable lives for the whole program.

Stroke Order

jìng
tài
biàn
liàng