摘要:
public class D { public static void main(String[] args) { String b = "Hello Java World"; System.out.println("原字符串:"+b); /*把字符串转化为数组形式,并用正则表达式进行分割*/ St 阅读全文
摘要:
public class Countdown4 { private static long day = 0; private static long hour = 0; private static long minute = 0; private static long second = 0; p 阅读全文
摘要:
public class Countdown3 { private int lin; private int curSec; public Countdown3(int lin)throws InterruptedException{ this.lin = lin; this.curSec = li 阅读全文
摘要:
public class Countdown2 { private volatile int lin; private int curSec; public Countdown2(int lin) throws InterruptedException{ /*记录倒计时时间*/ this.lin = 阅读全文
摘要:
public class Countdown { private int lin; public Countdown(int lin)throws InterruptedException{ this.lin = lin; System.out.println("最后倒数时刻:" + lin + " 阅读全文
摘要:
public class Sort2 { public static void main(String[] args) { Sort2 sort = new Sort2(); System.out.println("各种排序的代码"); System.out.print("没排序前的数据 "); i 阅读全文
摘要:
public class Sort { public static void arrangeSequence(char[] strArr,int i){ char temp; ArrayList<String> list = new ArrayList<>(); if(strArr == null 阅读全文
摘要:
public class List { public static void main(String[] args) { String s = "abc nnn ooo/xzsxc bs"; System.out.println("原字符串:"+s); System.out.println(); S 阅读全文
摘要:
public class List1 { public static void main(String[] args) { String s = "abc nnn ooo/xzsxc bs"; System.out.println("原字符串:"+ s + "\n"); //把s字符串变成ss数组, 阅读全文
摘要:
public class ABC { public static void main(String[] args) { new ABC().sortStringArray(); } public void sortStringArray(){ String[] a = new String[]{"O 阅读全文