700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > int类型转换成·Long

int类型转换成·Long

时间:2022-03-08 10:52:01

相关推荐

int类型转换成·Long

int count = 15;//创建Long对象Long changeCount =new Long(count);//因为int和long都是基本类型,能够互相转换long changCount= new long(count);错误转换方式//Long是包装类,而int是值类型数据,两者是不能强转× Long changeCount =Long(count);

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。