Help me with this one please.
import java.util.Scanner; import java.io.*; public class Exams { Scanner key = new Scanner(System.in); int pscore, mscore, sscore, fscore, total; boolean[] prelims = {false, false, false, false, false}; boolean[] midterms = {false, false, false, false, false}; boolean[] semifinals = {false, false, false, false, false}; boolean[] finals = {false, false, false, false, false}; public void prelims() { System.out.println("Prelims Exam\nTrue or False: Write T if true and F if false."); System.out.println("1. Java was first developed by Oracle"); if (key.nextLine().equals("F")) { prelims[0] = true; pscore = pscore + 1; } System.out.println("2. Java is an object oriented programming language."); if (key.nextLine().equals("T")) { prelims[1] = true; pscore = pscore + 1; } System.out.println("3. You can store Java classes in a .jar extension for distribution without manifest");