Analise o código abaixo.
Código
import java.io.*;
public class Sequencia {
public static void main (String [] args){
int tam = 10;
int vetor[ ] = new int[tam];
for(int i = 0; i < tam; i++)
vetor[i] = i;
X(vetor, tam);
}
public static void X(int V[ ], int n){
int aux, j = n-1;
for(int i = 0; i < n/2; i++, j--){
aux = V[i];
V[i] = V[j];
V[j] = aux;
System.out.print(V[i]);
}
}
}
Sobre o método X, é correto afirmar que: