「throws IOException」という行を削除すると、コードにどのような変更を加える必要がありますか??
import java.io.*;
class Buffered_class{
public static void main(String[] args)
throws IOException // remove this line
{
char c;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter characters, 'q' to quit");
do{
c= (char)br.read();
System.out.println(" you entered : " + c );
}while(c !='q');
}
}