; ;
摘要: 原本想这样产生一个随机数,但是你会看到,只要数字超过了9位数,就会出问题,提示“The literal 1000000000000 of type int is out of range” 解决方式是把数字转换成long型,在数字后面加上L,代表long型 阅读全文
posted @ 2017-11-02 18:12 做梦的人- 阅读(7822) 评论(0) 推荐(0) 编辑