p8nda
p8nda BETA
Home Dictionary Discord
p8nda
p8nda BETA
Home Dictionary Discord

类方法

類方法
lèifāngfǎ
noun

Meanings

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

Characters

类
lèi
class / kind
方
fāng
method / square
法
fǎ
way / law

Examples

类方法可以直接通过类名调用。
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.
这个类方法返回一个实例。
Zhège lèifāngfǎ fǎnhuí yī gè shílì.
This class method returns an instance.

Tips

usage
类 (lèi) = class, 方法 = method. Contrast with 实例方法 (shílì fāngfǎ, instance method). Often equivalent to ‘static method’ in Java/C#.

Stroke Order

类 lèi
方 fāng
法 fǎ

Related Words

方法 fāngfǎ HSK 2 #751
method / way
想方设法 xiǎngfāngshèfǎ HSK 7 #9,795
to do everything possible / to try every means / to rack one's brains
类 lèi HSK 3 #1,532
kind; type; class / category; sort
手法 shǒufǎ HSK 5 #4,335
technique; method; skill / trick; gimmick (negative) / artistic technique (in writing, painting, etc.)
设法 shèfǎ HSK 7 #4,189
to try to find a way / to think of a method / to manage to
做法 zuòfǎ HSK 2 #3,909
method / approach / recipe
法子 fǎzi #5,618
way / method / solution
方 fāng HSK 4 #1,608
square; direction; method / just now; place
方式 fāngshì HSK 3 #681
way; method; manner / mode; style; pattern
法 fǎ HSK 4 #650
law; legal / method; way / France (abbreviation)
类方法 lèifāngfǎ
Meanings Characters Examples Tips Stroke Order Related Words
p8nda p8nda

Chinese dictionary and learning app. Free, offline-first, no ads.

Product
  • Dictionary
  • Credits
Project
  • About
  • Discord
Legal
  • Privacy
  • Terms
© 2026 p8nda · Operated by Volverix sp. z o.o. Made in Kraków, Poland