摘要: package array;import java.util.Arrays;public class maoppxu { public static void main(String[] args) { //比较相邻的两个位置,大小交换降序 int[] a = {55,6,13,85,26}; in 阅读全文
posted @ 2023-02-14 17:26 小小的羊 阅读(19) 评论(0) 推荐(0)
摘要: package array;import java.lang.reflect.Array;import java.util.Arrays;public class arrayclass { public static void main(String[] args) { //找大小直接升降序,打印位 阅读全文
posted @ 2023-02-14 17:25 小小的羊 阅读(11) 评论(0) 推荐(0)
摘要: package array;public class duodszu { public static void main(String[] args) { int[][] array = {{2, 3}, {4, 5}}; //套娃 for (int i = 0; i < array.length; 阅读全文
posted @ 2023-02-14 17:23 小小的羊 阅读(14) 评论(0) 推荐(0)
摘要: package array;public class csh { public static void main(String[] args) {// int[] a = {1,2,55,4,7}; //静态初始化 创建+赋值 int[] b = new int[8]; //动态初始化,包含默认 b 阅读全文
posted @ 2023-02-14 17:22 小小的羊 阅读(39) 评论(0) 推荐(0)
摘要: package mdthob;public class digui { public static void main(String[] args) { System.out.println(f(5)); } public static int f(int i){ if(i==1){ return 阅读全文
posted @ 2023-02-14 09:46 小小的羊 阅读(13) 评论(0) 推荐(0)
摘要: package mdthob;//package com.cal;import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.util.Stack;impor 阅读全文
posted @ 2023-02-14 09:44 小小的羊 阅读(31) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-02-13 16:28 小小的羊 阅读(13) 评论(0) 推荐(0)
摘要: package mdthob;public class bidaxffa { public static void main(String[] args) { int max = max(20,20); System.out.println(max); } public static int max 阅读全文
posted @ 2023-02-13 16:26 小小的羊 阅读(14) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-02-13 09:40 小小的羊 阅读(19) 评论(0) 推荐(0)
摘要: package com.zxs.process;import javax.jws.soap.SOAPBinding;public class breakces { public static void main(String[] args) { int i = 0; while (i<20){ i+ 阅读全文
posted @ 2023-02-12 14:32 小小的羊 阅读(16) 评论(0) 推荐(0)