类型转换

類型轉換
lèixíngzhuǎnhuàn
noun

Measure Word

Meanings

  1. 1 type conversion
  2. 2 type casting

Examples

Zìfúchuàn dào zhěngshù de lèixíng zhuǎnhuàn kěnéng pāo yìcháng.
Type conversion from string to integer may throw an exception.
Jǐnliàng bìmiǎn yǐnshì lèixíng zhuǎnhuàn.
Avoid implicit type conversions when possible.

Tips

usage
Covers both (implicit) and 显式 (explicit) conversion. The C-style cast '(int)x' is 强制类型转换 'forced type conversion.'

Stroke Order

lèi
xíng
zhuǎn
huàn