Make Be BackEnd
[Java] System.in.read() 본문
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Unhandled exception type IOException
IOException 이 발생 하므로 해당 부분의 예외처리 해주어야 한다.
public static void main(String[] args) throws java.io.IOException {
참고: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html#read()
InputStream (Java SE 17 & JDK 17)
All Implemented Interfaces: Closeable, AutoCloseable Direct Known Subclasses: AudioInputStream, ByteArrayInputStream, FileInputStream, FilterInputStream, ObjectInputStream, PipedInputStream, SequenceInputStream, StringBufferInputStream This abstract class
docs.oracle.com
'Error' 카테고리의 다른 글
| 오류 : 0x80010135 경로가 너무 깁니다. (0) | 2023.10.02 |
|---|---|
| crbug/1173575, non-JS module files deprecated. (0) | 2023.10.02 |
| [GitHub]error: remote origin already exists. (0) | 2023.09.20 |
| [Intellj IDEA] Execution failed for task ':test' (0) | 2023.09.18 |
| [SpringBoot] JDK 11 , spring boot 2.x 버전 (0) | 2023.09.18 |