アットウィキロゴ

入力 88

import java.io.*;

class pro
{
 public static void main(String[] args)
 {
    try{
       BufferedReader br =
         [[new]] BufferedReader(new FileReader("test.[[txt]]"));

       String[] test = new String[5];
       String str;
String x[]=new String[4];
       for(int i=0; i<5; i++){
          str = br.readLine();
      x=str.split(",");    
test[i]=x[0];
System.out.println(test[i]);
       }





       br.close();
    }
    catch(IOException e){
       System.out.println("入出力エラーです。");
    }
 }
}
最終更新:2010年10月17日 21:40