摘要:
什么是数组、数组的声明与创建 package com.luo.array; public class ArrayDemo1 { public static void main(String[] args) { //变量的类型 变量名 = 变量值; //数组的类型 int[] nums;//1.定义: 阅读全文
posted @ 2021-05-13 09:36
南雄
阅读(125)
评论(0)
推荐(0)
摘要:
递归 package com.luo.method; public class Demo5 { public static void main(String[] args) { Demo5 test = new Demo5(); test.test(); } public void test(){ 阅读全文
posted @ 2021-05-13 08:55
南雄
阅读(37)
评论(0)
推荐(0)
摘要:
可变参数 package com.luo.method; public class Demo4 { public static void main(String[] args) { Demo4 demo4 = new Demo4(); demo4.test(1, 2, 3, 4, 5); } pub 阅读全文
posted @ 2021-05-13 08:54
南雄
阅读(37)
评论(0)
推荐(0)

浙公网安备 33010602011771号