类方法

類方法
lèifāngfǎ
noun

Meanings

  1. 1 class method (OOP)
  2. 2 static method

Examples

HSK 3
Lèifāngfǎ kěyǐ zhíjiē tōngguò lèimíng diàoyòng.
Class methods can be called directly via the class name.
HSK 7-9
Zhège lèifāngfǎ fǎnhuí yí gè shílì.
This class method returns an instance.

Tips

usage
= class, 方法 = method. Contrast with 实例方法 (instance method). Often equivalent to 'static method' in Java/C#.

Stroke Order

lèi
fāng