摘要:
1 package kai1; 2 3 public class Message { 4 private String name; 5 private String sex; 6 private int age; 7 private int telephone; 8 private int qq; 9 private Str... 阅读全文
摘要:
1 public class insertSort { 2 public static void insertSort() { 3 int a[] = {49, 38, 65, 97, 76, 13, 27, 49, 78, 34, 12, 64, 5, 4, 62, 99, 98, 54, 56, 1}; 4 int temp = 0; 5 ... 阅读全文
摘要:
1 public class selectSort { 2 public static void selectSort() { 3 int a[] = {1, 54, 6, 3, 78, 34, 12, 45}; 4 int position = 0; 5 for(int i = 0; i < a.length; i++) { ... 阅读全文