已解决问题
谷歌ruifeng0325用户在2013.09.02提交了关于“荣威950j**a 简单问题”的提问,欢迎大家涌跃发表自己的观点。目前共有1个回答,最后更新于2024-08-03T11:19:12。import***.io.*;publicclassTest{
publicstaticvoidmain(String[]args){
FileInputStreamfis=newFileInputStream("d:\\sss.txt");
inta=***.read();
while(a!=-1){
System.out.println(a+"");
}
fis.close();
}
}
D盘已经有sss.txt文件
Exceptioninthread"main"j**a.lang.Error:Unresolvedcompilationproblems:
UnhandledexceptiontypeFileNotFoundException
UnhandledexceptiontypeIOException
UnhandledexceptiontypeIOException
atTest.main(***.j**a:5)希望大家能够帮助她。
详细问题描述及疑问:import***.io.*;
publicclassTest{
publicstaticvoidmain(String[]args){
FileInputStreamfis=newFileInputStream("d:\\sss.txt");
inta=***.read();
while(a!=-1){
System.out.println(a+"");
}
fis.close();
}
}
D盘已经有sss.txt文件
Exceptioninthread"main"j**a.lang.Error:Unresolvedcompilationproblems:
UnhandledexceptiontypeFileNotFoundException
UnhandledexceptiontypeIOException
UnhandledexceptiontypeIOException
atTest.main(***.j**a:5)期待您的答案,千言万语,表达不了我的感激之情,我已铭记在心
!