코테를 풀다가 아래와 같은 에러가 떴다.
unreported exception IOException; must be caught or declared to be thrown
이 에러는 문구에 설명되어 있는대로 IOException을 선언문에 throws 해주라는 것이었다.
예를들어
public class Main{
public static void main(String args[]) throws IOException{
}
}
이렇게 해주라는 것이다.