import java.util.*;
class SelectionSort
{
public static void main(String[] args) {
int indexI,arrayLength,indexJ,temp=0,minElementIndex=0;
Scanner sc=new Scanner(System.in);
System.out.println("Enter size of array");
arrayLength=sc.nextInt();
int array[]=new int[arrayLength];
System.out.println("Enter Elements of array");
for(indexI=0;indexI