摘要: 阅读全文
posted @ 2023-11-29 19:23 哩哩1 阅读(7) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-11-25 16:53 哩哩1 阅读(10) 评论(0) 推荐(0)
摘要: 无序集合:set 有序集合:set 阅读全文
posted @ 2023-11-24 22:44 哩哩1 阅读(7) 评论(0) 推荐(0)
摘要: 在a数组索引为1位置插入4 然后将a拷贝到b行成新数组 [2,5,8] a 数组b int[] b = new int[a.length+1]; System.arraycopy(a,0,b,0,1) 将a数组的0到1索引的数拷贝到b数组起始为0的位置 a : 原数组 0: a开始拷贝的位置 b: 阅读全文
posted @ 2023-11-04 23:10 哩哩1 阅读(13) 评论(0) 推荐(0)
摘要: `` 点击查看代码 import java.util.Scanner; public class Main { public static int[] a = new int[10]; public static void main(String[] args) { Scanner s = new 阅读全文
posted @ 2023-10-31 23:17 哩哩1 阅读(16) 评论(0) 推荐(0)