A derived type can be cast to a primitive type if its primitive ancestor can be cast to the target type.

 
  • 如果派生类型的基元祖先可以转换为目标类型,则该派生类型可以转换为基元类型。
今日热词
目录 附录 查词历史