Object obj = new Integer(100);
String strVal = (String)obj;
运行时异常:CalssCastException
Integer obj = new Integer(100);
String strVal = (String)obj;
语法错误
“Object obj = new Integer(100);”和“Integer obj = new Integer(100);”有区别吗?
turboburst
lenz
慕的地6079101
我不是一颗星
移动的红烧肉
相关分类