标签:rand 键盘输入 输入 随机 OLE ble bsp java 基本
基本数据变量类型:byte、short、int、long、float、double、boolean、char
eg :
int i = 1;
引用数据变量类型:数组、类、接口
eg :
Scanner sc = new Scanner(System.in);//接受键盘输入
Random ran = new Random(10); //产生0-10之间的随机数
标签:rand 键盘输入 输入 随机 OLE ble bsp java 基本
原文地址:https://www.cnblogs.com/gaoquanquan/p/9385421.html