p8nda
BETA
Home
Dictionary
Translate
Flashcards
Sign in
Chinese, pinyin, English, or paste image...
p8nda
BETA
Home
Dictionary
Translate
Flashcards
Sign in
类方法
Meanings
Characters
Examples
Tips
Stroke Order
Related Words
类方法
類方法
lèifāngfǎ
noun
Meanings
1
class method (OOP)
2
static method
Characters
类
lèi
class / kind
方
fāng
method / square
法
fǎ
way / law
Examples
拼音
EN
类方法
可以
直接
通过
类名
调用
。
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
Grid
Outline
类
lèi
方
fāng
法
fǎ
Related Words
方法
fāngfǎ
HSK 2
#751
method / way
想方设法
xiǎngfāng-shèfǎ
HSK 7-9
#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-9
#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