I am new to Java; can someone please explain to me why this gives me an error
Description Resource Path Location Type Syntax error on token ";", { expected after this token InsertionSort.java /Alghoritems/src/sort line 4 Java Problem
package sort;
public class InsertionSort {
int[] polje = { -2, 5, -14, 35, 16, 3, 25, -100 };
for(int firstUnsorted = 1; firstUnsorted < polje.length; firstUnsorted++) {
int newElement = polje[firstUnsorted];
int i;
for (i = firstUnsorted; i > 0 && polje[i - 1] > newElement; i--) {
}
}
for (int i = 0; i < polje.length; i++){
int firstUnsorted = 1;
int elemant;
}
}