外部链接:    leo英德   dict有道 百度搜索百度 google谷歌 google图片 wiki维基 百度百科百科   

 显式类型转换 添加此单词到默认生词本
[计] explicit type conversion

  1. 这就避免了一些需要显式类型转换的情况。
    This eliminates the need for explicit casting in some situations.
  2. 这个异常是由显式类型转换抛出的,因为测试用例试图把类型为 String 的东西转换成 Integer。
    The exception is thrown by the explicit cast because the test case is trying to convert something of type String to an Integer.
  3. 如果使用允许转换损耗的显式类型转换,将会使代码更为可靠,并大大降低代码在运行时失败的可能性。
    Using explicit type conversions, which allow for lossy conversions, makes code more reliable and much less likely to fail at runtime.



加入收藏 本地收藏 百度搜藏 QQ书签 美味书签 Google书签 Mister Wong
您正在访问的是
中国词汇量第二的英语词典
更多精彩,登录后发现......
验证码看不清,请点击刷新
  注册