public static void main(String[] args) {
		Sort sample = new Sort();
		Random r = new Random();
		int n = 10;
		int[] arr = new int[n];

		for (int i = 0; i < n; i++) {
			arr[i] = r.nextInt(20);
		}
		for (int i : arr)
			System.out.print(i + " ");

		System.out.println();
		// System.out.println("quick Sort");
		// sample.quickSort(arr, 0, arr.length - 1);
		// for (int i : arr)
		// System.out.print(i + " ");
		// System.out.println();

		// System.out.println("Merge sort");
		// sample.mergesort(arr, 0, arr.length - 1);
		// for (int i : arr)
		// System.out.print(i + " ");
		// System.out.println();
		System.out.println("Selection sort");
		sample.SelectionSort(arr);
		for (int i : arr)
			System.out.print(i + " ");
		System.out.println();

	}