アットウィキロゴ

word01

import java.io.*;
class word01{
    public static void main(String[] args) {
        try {
            FileReader in = new FileReader("ren.txt");
            int ch;
            while ((ch = in.read()) != -1) {
                System.out.print(Integer.toHexString(ch) + " ");
            }
            in.close();
        } catch (IOException e) {System.out.println(e);}
    }
}
最終更新:2011年02月19日 15:05