OOP测试.docVIP

  • 78
  • 0
  • 约1.3万字
  • 约 19页
  • 2017-06-30 发布于湖北
  • 举报
OOP测试

OOP部分测试 1. 使用JDK工具生成的Java文档的文件格式是? A. XML格式 B. 自定义格式 C. 二进制格式 D. HTML格式 2. windows中环境变量PATH中含有多个路径时,路径和路径之间可以用哪项来隔开? A. ; B. , C. * D. : Question 3 12. Given: 13. public class Pass { 14. public static void main(String [] args) { 15. int x=5; 16. Pass p = new Pass(); 17. p.doStuff(x); 18. System.out.print(“ main x = “+ x); 19. } 20. 21. void doStuff(int x) { 22. System.out.print(“doStuff x = “+ x++); 23. } 24. } What is the result? A. Compilation fails. B. An exception is thrown at runtime. C. doStuffx = 6 ma

文档评论(0)

1亿VIP精品文档

相关文档