问题描述:
[单选]
在J2EE中,如果去编译并运行下面的代码,在这里假定在当前目录下没有Hello.txt文件: import java.io.*; public class Mine { public static void main(String argv[]){ Mine m=new Mine(); System.out.println(m.amethod()); } public int amethod(){ try { FileInputStream dis=new FileInputStream("Hello.txt"); } catch (FileNotFoundException fne){ System.out.println("No such file found"); return -1; } catch(IOException ioe){ } finally { System.out.println("Doing finally"); } return 0; } } 结果会输出()。
A.No such file found
B.No such file found -1
C.No such file found doing finally -1
D.0
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
上一篇:中国电信的企业核心价值观是()。
下一篇:自相关有什么影响?
- 我要回答: 网友(216.73.216.48)
- 热门题目: 1.目前,普遍采取的风险识别方法 2.简述装饰在设计中的作用 3.TCP/IP的()组件管理从
