このif文がコンパイルしないんですけど、何でだかどなたか教えてもらえませんか?
public void getCategory(){
String numberExam = JOptionPane.showInputDialog("How many sores?");
int theLength = Integer.parseInt(numberExam);
System.out.println("Number of Exams:" + numberExam + "\n");
int[] theScore= new int[theLength];

for (int i = 0 ; i < theLength; i++){
String score = JOptionPane.showInputDialog("Enter Exam Score" + (i+1));
int sr = Integer.parseInt(score);
System.out.println("Exam Score:" + score);
if( score >= 90){
System.out.println("Out Standing Score!!\n");
}
theScore[i] = Integer.parseInt(score);
}