A股上市公司传智教育(股票代码 003032)旗下技术交流社区北京昌平校区

public static void main(String[] args) throws IOException{
                                InputStream instream=new FileInputStream("demo03.txt");
                                Reader inReader=new InputStreamReader(instream);
                                int n=inReader.read();
                System.out.println("读取的字符:"+(char)n);?怎么加char?
                                inReader.close();
        }
}
您需要登录后才可以回帖 登录 | 加入黑马