1.java8种基本数据类型
byte,short,int,long,float,double,char,boolean
还有一个类的空类型 void
字符串类型 string
数组 int[]
列表list{}:下文为list的具体用法
https://blog.csdn.net/qq_33505051/article/details/78967362
2.随机数用法
随机数,使用random()方法:下文为参考
https://dwjun236.iteye.com/blog/2115382
https://www.cnblogs.com/ningvsban/p/3590722.html
两种random函数:
java.lang.Math.Random;
java.util.Random;