[에러]unreported exception IOException; must be caught or declared to be thrown

정태규·2023년 5월 2일
0

에러

목록 보기
1/1

코테를 풀다가 아래와 같은 에러가 떴다.
unreported exception IOException; must be caught or declared to be thrown

이 에러는 문구에 설명되어 있는대로 IOException을 선언문에 throws 해주라는 것이었다.

예를들어

public class Main{
public static void main(String args[]) throws IOException{
	
}
}

이렇게 해주라는 것이다.

0개의 댓글

Powered by GraphCDN, the GraphQL CDN