摘要: 冒泡排序的实现思路就是比较相邻两个元素的大小,按照要求,交换两个数的位置实现排序,实现方法容易想到,但效率较慢。 public class 冒泡排序 { public static void main(String[] args) { int arr[]={1,6,5,2,9,5}; for (in 阅读全文
posted @ 2020-02-29 20:34 逆风翱翔 阅读(92) 评论(0) 推荐(0)
摘要: public class Test01常用效验 { public static void main(String[] args) { String[] sArray = null; String sRegEx = null; System.out.println(" 手机号效验 "); // 移动号 阅读全文
posted @ 2020-02-28 21:37 逆风翱翔 阅读(1203) 评论(0) 推荐(0)