public static void chooseSort(int flag,int intArray[],int sortKind)
	{
		switch(flag){
			case 1:
				BubbleSort bubbleSort=new BubbleSort();
				bubbleSort.sort(intArray, sortKind);
				break;
			case 2:
				SelectionSort selectionSort = new SelectionSort();
				selectionSort.sort(intArray, sortKind);
				//selectionSort的作用域就在case这个里面
				break;
			case 3:
				//InsertSort insertSort = new InsertSort();
				//selectionSort.sort(intArray, sortKind);
				break;
			case 5:
				QuickSort quickSort = new QuickSort();
				quickSort.sort(intArray, 0, intArray.length-1);
				break;
		}
	}