请大家给我解决这个问题!!!!!
import java.io.*;import javax.swing.*;
public class yonghu1{
public static void main(String args[]) throws IOException{
try{ File file1=new File("11\\fxq.txt");
FileReader fr=new FileReader(file1);
BufferedReader br=new BufferedReader(fr);
String ss=br.readLine();
System.out.println(ss);
}
catch(FileNotFoundException e){
JOptionPane.showMessageDialog(null,"找不到件","出错",JOptionPane.INFORMATION_MESSAGE);
}
} }
[此贴子已经被作者于2005-6-14 22:06:55编辑过]
----------------解决方案--------------------------------------------------------
主要是我想试一下能不能从磁盘文件读取字符流
请大家给我指点一下呀
高手们!!
----------------解决方案--------------------------------------------------------
要指点什么都不说清楚怎么指点你?fuck,又是一个需要学习提问智慧的人
----------------解决方案--------------------------------------------------------