类对象

類對象
lèiduìxiàng
noun

Measure Word

Meanings

  1. 1 class object
  2. 2 instance of a class

Examples

HSK 3
Měi gè lèiduìxiàng dōu yǒu zìjǐ de zhuàngtài.
Every class object has its own state.
HSK 6
Yòng new guānjiàn zì chuàngjiàn yí gè lèiduìxiàng.
Use the new keyword to create a class object.

Tips

usage
对象 in OOP means "object" - but the same word in everyday Chinese means "boyfriend / girlfriend / partner" (e.g. 找对象 "to look for a partner"). Programmers joke that they have many 对象 - in the OOP sense.

Stroke Order

lèi
duì
xiàng