[java] how to cast after clone()?
登录 | 论坛导航 -> 华新鲜事 -> 技术の宅 | 本帖共有 16 楼,当前显示第 12 楼 : 从楼主开始阅读 : 本帖树形列表 : 返回上一页
作者:蚂蚁 (等级:3 - 略知一二,发帖:108) 发表:2006-04-08 03:10:46  12楼 
Leave itthis warning message just shows that compiler cannot assure correctness of this casting operation as clone() method returns type of object. It is really programmer's responsibility to avoid any casting failure.
总是觉得compile之后还有一行字,看起来实在是很不爽!
少上网
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表

本帖共有 16 楼,当前显示第 12 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>



请登录后回复:帐号   密码