- 博客(3)
- 收藏
- 关注
转载 关于 Error:Error converting bytecode to dex 异常
Error:Error converting bytecode to dex:Cause: Dex cannot parse version 52 byte code.This is caused by library dependencies that have been compiled using Java 8 or above.If you are using the 'java' gra...
2018-05-08 20:31:02 289
原创 JAVA常见异常出错 及原因
1. Exception in thread "main" java.lang.ArithmeticException: / by zero at com.Demo_4.Demo_Error.TestArithmetic(Demo_Error.java:10) at com.Demo_4.Demo_Error.main(Demo_Error.java:5)报错原因: 进行除0操作 分母...
2018-04-11 15:40:02 701
原创 JAVA 取指定范围随机数
取[min,max]值 等价于 min+[0,max-min+1]import java.util.Random;public class Demo_dd { public static void main(String[] args) { int min, max; //最小值 ,最大值 min=10; max =21; //建立随机生成对象 ...
2018-04-10 19:09:24 250
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人