-
EOF(end of file) 처리 방법JAVA 2023. 5. 2. 16:20
1. buffer의 EOF 처리방법
while((input = br.readLine()) != null)
2. scan의 EOF 처리 방법
while(scan.hasNext())
'JAVA' 카테고리의 다른 글
[JAVA] 변수의 명명규칙 (0) 2023.05.29 인스턴스(instance) 클래스 생성 예시 (0) 2023.05.02 중첩 클래스(outer class, nested class, local class, anonymous class) (0) 2023.05.02 Interface 인터페이스 (0) 2023.05.02 abstract 추상 클래스 (0) 2023.05.02