=== 소감 === 자바에서 파일입출력은 아직도 잘 모르겠다 === 코드 === 원본 코드 {{{~cpp // FileIO.java 파일 import java.io.*; import java.util.*; public class FileIO { private Formatter output; Scanner input; public String getText(String name) { String text=""; try { input = new Scanner(new File(name)); text = input.nextLine(); } catch(IOException ioException) { System.out.println("헉"); } try { output = new Formatter(name); } catch(IOException ioException) { System.out.println("헉"); } return text; } public void reverseWrite(String text) { char charArray[]=new char[text.length()]; for( int count=0; count