摘要: 1、给定一个有9个整数(1,6,2,3,9,4,5,7,8)的数组,先排序,然后输出排序后的数组的值。 import java.util.Arrays; public class www { public static void main(String[] args) { // TODO Auto- 阅读全文
posted @ 2023-05-08 10:57 澄憕 阅读(29) 评论(0) 推荐(0)
摘要: 1.编写一个简单程序,要求数组长度为5,静态赋值10,20,30,40,50,在控制台输出该数组的值 package wen; public class Test { public static void main(String[] args) { // TODO Auto-generated me 阅读全文
posted @ 2023-05-08 10:50 澄憕 阅读(27) 评论(0) 推荐(0)