///
Considerando o trecho de código Java a seguir.
public class MyClass {
public static void main(String args[]) {
int[] vetor = new int[5];
for(int i=0; i < 5; i++) {
vetor[i] = i+1;
if(i > 2) {
vetor[i] = i+vetor[i-1];
}
}
System.out.println(vetor[4]);
}
}A saída correta é