摘要: package array;import java.util.Arrays;public class demo02 { public static void main(String[] args) { int[] a ={1,31,321,32,23,4,45}; int[] sort = sort 阅读全文
posted @ 2021-08-27 11:03 AAA编程 阅读(38) 评论(0) 推荐(0)
摘要: package array;public class Demo03 { public static void main(String[] args) { int[] arrays = {1,2,3,4,5}; for (int i = 0; i <arrays.length ; i++) { Sys 阅读全文
posted @ 2021-08-27 10:08 AAA编程 阅读(29) 评论(0) 推荐(0)
摘要: package array;public class ArrayDemo01 { public static void main(String[] args) { int[] nums; nums = new int[10]; nums[0] = 1; nums[1] = 2; nums[2] = 阅读全文
posted @ 2021-08-27 09:47 AAA编程 阅读(35) 评论(0) 推荐(0)