Logic correct forom where i used comments

package Array;

public class Selectionsort {

public static void main(String[] args) {
	// TODO Auto-generated method stub
	int []arr= {88,11,44,99,55};
	selS(arr);
	display(arr);

}
public static void selS(int[]arr)
{
	for(int counter=0;counter<arr.length-1;counter++)
	{
		int min=counter;
		for(int j=counter+1;j<arr.length;j++)
		{
			min=j;
			if(arr[min]<arr[counter])//is this correct 
			{
				int temp=arr[min];
				arr[min]=arr[counter];
				arr[counter]=temp;
			}
		}
	}
}
public static void display(int[]arr)
{
	for(int i=0;i<arr.length;i++)
	{
		System.out.println(arr[i]);
	}
}

}