- 讲师:刘萍萍 / 谢楠
- 课时:160h
- 价格 4580 元
特色双名师解密新课程高频考点,送国家电网教材讲义,助力一次通关
配套通关班送国网在线题库一套
百度广告
what will happen when you attempt to compile and run the following code.
public class pvf{static boolean paddy;public static void main(string argv){ system.out.println(paddy); }}1) compile time error
3) compilation and output of true
question 59)
which of the following statements are true?
1) the x,y coordinates of an instance of mouseevent can be obtained using the getx() and gety() methods
3) the time of a mouseevent can be extracted using the gettime() method
question 60)
given the following code import java.io.*;public class ppvg{public static void main(string argv){ ppvg p = new ppvg(); p.fliton(); } public int fliton(){ try{ fileinputstream din = new fileinputstream("ppvg.java"); din.read(); }catch(ioexception ioe){system.out.println("flytwick"); return 99; }finally{ system.out.println("fliton"); } return -1; } }
assuming the file ppvg.java is available to be read which of the following statements are true if you try to compile and run the program?
1) the program will run and output only "flytwick"
3) the program will run and output both "fliton" and "flytwick"
责编:罗莉
上一篇:格林模拟试题三(下)(7)
下一篇:格林模拟试题三(上)(1)
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
点击加载更多评论>>