merge
This commit is contained in:
@@ -19,6 +19,7 @@ public class CollectionDemo {
|
||||
int[] arr1 = new int[4];
|
||||
int[] arr2 = new int[]{1, 3, 5, 7};
|
||||
int[] arr3 = {12, 3, 5, 6, 2, 8, 9, 4};
|
||||
|
||||
for (int i = 0; i < arr3.length - 1; i++) {//选择排序
|
||||
for (int j = i + 1; j < arr3.length; j++) {
|
||||
if (arr3[i] > arr3[j]) {
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.xwbing.demo;
|
||||
import java.io.*;
|
||||
|
||||
/**
|
||||
* 创建日期: 2017年2月20日 上午10:12:20
|
||||
* 创建日期: 2017年2月21日 上午10:12:20
|
||||
* 作者: xiangwb
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user