I am hoping that someone may be able to inlighten me on what he means by switches. is he talking about the second for statement?

public void selectionSort() { for (int i=0; i<x.length-1; i++) { for (int j=i+1; j<x.length; j++) { if (x[i] > x[j]) { int temp = x[i]; x[i] = x[j]; x[j] = temp; } } } for(int i = 0; i < x.length; i++){ System.out.println(x[i]); } }