728x90
반응형
SMALL
입력받은 텍스트 파일의 라인순서를 반대로 가지고 있는 파일을 만들어 출력한다.
EX)
input file
Two roads diverged in a wood,
and I took the one less traveled by,
and that has made all the difference.
- Robert Frost
output
- Robert Frost
and that has made all the difference.
and I took the one less traveled by,
Two roads diverged in a wood,
파일 입출력이 어렵다.
이 문제를 푸는데 시간이 꽤 걸렸다.

728x90
반응형
LIST
'JAVA' 카테고리의 다른 글
JSch를 활용하여 외부 서버 파일 가져오기(파일 컬럼 개수) (0) | 2024.04.11 |
---|---|
자바 빈(Bean) 이란 무엇인가? (0) | 2021.05.06 |
상속-기본예제 (0) | 2021.03.29 |
Java - If 문의 사용 (0) | 2021.03.29 |
클래스와 메소드 예제 1 (0) | 2021.03.18 |