// FileIO.java import java.io.*; public class FileIO{ static String str_elm[][] = new String[100][100]; public static void main(String args[]){ //hz?n??u for(int i=0; i<100; i++){ for(int j=0; j<100; j++){ str_elm[i][j]=""; }} //?t?@?C??gu?o?I...?A?s???I?o?h?iload, save?j if(args[0].equals("load")){LoadFile();} else if(args[0].equals("save")){SaveFile();} } // ?t?@?C???Z?[?u public static void SaveFile(){ // Data Set?i?T?g?v???j str_elm[0][0]="1"; str_elm[0][1]="2";str_elm[0][2]="3"; str_elm[1][0]="a"; str_elm[1][1]="b";str_elm[1][2]="c"; str_elm[2][0]="? "; str_elm[2][1]="?";str_elm[2][2]="??"; str_elm[3][0]="Hello "; str_elm[3][1]="the";str_elm[3][2]="World"; int row=4,col=3; try{ File out01 = new File("./datafile.txt"); FileWriter fw01 = new FileWriter(out01); PrintWriter pw01 = new PrintWriter(fw01); try{ for(int i=0;i