import java.io.BufferedReader;
import java.io.FileReader;
import java.util.Hashtable;
import java.util.Scanner;
public class Exec {
public static void main(String[] args) throws Exception{
// TODO Auto-generated method stub
Hashtable<String, Student> table = new Hashtable<>();
BufferedReader br = new BufferedReader(new FileReader("Workbook1.csv"));
String line;
while((line = br.readLine()) != null){
String[] array = line.split(",");
String name = array[0];
int score = Integer.parseInt(array[1]);
Student st = new Student(name, score);
table.put(name, st);
}
Scanner sc = new Scanner(System.in);
System.out.print("이름을 입력하세요: ");
String temp = sc.nextLine();
Student temp1;
if ((temp1 = table.get(temp)) == null){
System.out.println("없는 사람입니다");
}else{
System.out.println(temp + "님의 점수는 " + temp1.getScore() + "입니다");
}
br.close();
}
마지막에 중괄호 하나가 빠졌네요.