- 博客(2)
- 收藏
- 关注
转载 一行输入多个数字 用空格隔开
Scanner sc = new Scanner(System.in); String inputString = sc.nextLine(); String stringArray[] = inputString.split(" "); int num[] = new int[stringArray.length]...
2019-09-07 15:02:00 6979
转载 System.arraycopy()方法介绍及使用
public staticvoidarraycopy(Objectsrc,intsrcPos,Objectdest,intdestPos,intlength)作用:将指定源数组中的数组从指定位置复制到目标数组的指定位置。参数: src - 源数组。srcPos - 源数组中的起始位置。dest - 目标数组。destPos - 目的地数据中的起始位置。length - 要...
2019-07-28 19:15:00 384
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人