Java认证
Java认证模拟试题(4)
日期:2013-10-31 14:25
blic 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; }}
1) no such file found
2 no such file found ,-1
3) no such file found, doing finally, -1
4) 0





Java认证

2/2 下一页 上一页 首页 尾页

Java认证


返回 刷新 WAP首页 网页版 登录
05/05 06:43