摘要: package com.gao.test; import java.lang.reflect.Array; import java.util.Arrays; /* 题目: 给定一个数组,删除数组中指定的元素对应的索引 */ public class TestDemo11 { public stati 阅读全文
posted @ 2022-09-13 22:39 进步+吃饭 阅读(310) 评论(0) 推荐(0)
摘要: package com.gao.test; import java.util.Scanner; /* 题目: 给定一个数组,在数组下标为2的位置上添加一个元素 */ public class TestDemo10 { public static void main(String[] args) { 阅读全文
posted @ 2022-09-13 22:38 进步+吃饭 阅读(42) 评论(0) 推荐(0)
摘要: package com.gao.test; /* 题目: 给定一个数组,在数组下标为2的位置上添加一个元素 */ public class TestDemo09 { public static void main(String[] args) { //给定一个数组,在数组下标为2的位置上添加一个元素 阅读全文
posted @ 2022-09-13 22:37 进步+吃饭 阅读(48) 评论(0) 推荐(0)
摘要: package com.gao.test; /* 题目: 给定一个数组,查询数组中指定的元素对应的索引 */ public class TestDemo08 { public static void main(String[] args) { //查询指定元素的位置--》找出元素对应的索引 //给定 阅读全文
posted @ 2022-09-13 22:36 进步+吃饭 阅读(20) 评论(0) 推荐(0)
摘要: package com.gao.test; import java.util.Scanner; /* 题目: 键盘录入十个学生的成绩,求和,求平均数 */ public class TestDemo07 { public static void main(String[] args) { //功能: 阅读全文
posted @ 2022-09-13 22:35 进步+吃饭 阅读(216) 评论(0) 推荐(0)
摘要: package com.gao.test; /* 题目: 我心里有一个数,你来猜,看是否猜对 */ import java.util.Scanner; public class TestDemo06 { public static void main(String[] args) { //功能:我心 阅读全文
posted @ 2022-09-13 22:34 进步+吃饭 阅读(29) 评论(0) 推荐(0)
摘要: package com.gao.test; /* 打印不同的图形 */ public class TestDemo05 { /* 1.长方形 ********** ********** ********** ********** */ public static void main(String[] 阅读全文
posted @ 2022-09-13 22:33 进步+吃饭 阅读(30) 评论(0) 推荐(0)
摘要: package com.gao.test; /* 乘法口诀: 1*9=9 2*9=18 3*9=27 4*9=36 5*9=45 6*9=54 7*9=63 8*9=72 9*9=81 1*8=8 2*8=16 3*8=24 4*8=32 5*8=40 6*8=48 7*8=56 8*8=64 1* 阅读全文
posted @ 2022-09-13 22:31 进步+吃饭 阅读(93) 评论(0) 推荐(0)