You should fill in the blank in the following code with ______________.
public class Test {
public static void main(String[] args) {
System (The grade is + getGrade(78.5));
System (\nThe grade is + getGrade(59.5));
}
public static _________ getGrade(double score) {
if (score >= 90.0)
return 'A';
else if (score >= 80.0)
return 'B';
else if (score >= 70.0)
return 'C';
else if (score >= 60.0)
return 'D';
else
return 'F';
}
}
A. int
B. double
C. boolean
D. char
E. void