计算机外文翻译69
《计算机外文翻译69》由会员分享,可在线阅读,更多相关《计算机外文翻译69(18页珍藏版)》请在毕设资料网上搜索。
1、外文原文 Working with Objects Casting and Converting Objects and Primitive Types Sometimes in your Java programs you may have a value stored somewhere that is the wrong type. Maybe its an instance of the wrong class, or perhaps its a float and you want it to be an int, or its an integer and you want it
2、to be a string. To convert the value of one type to another, you use a mechanism called casting. New Term: Casting is a mechanism of converting the value of an object or primitive type into another type. The result of a cast is a new object or value; casting does not affect the original object or va
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中设计图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机 外文 翻译 69
