浙江工商大学Java期末试卷及答案(B_2007_-2008) .pdfVIP

  • 7
  • 0
  • 约8.86千字
  • 约 12页
  • 2023-11-03 发布于安徽
  • 举报

浙江工商大学Java期末试卷及答案(B_2007_-2008) .pdf

浙江工商大学 Java 期末试卷及答案(B_2007_-2008 ) 浙江工商大学 2008 /2009 学年第二学期考试试卷(B 卷) 课程名称: Java 语言程序设计基础(英) 考试方式:开卷完成时限:120 分钟 班级名称:学号:姓名: Part 1. Single selection Q.1 Which of the following are NOT valid Java comments? (3 mark) A. // This is a comment. B. /* This is a comment. */ C. /** This is a comment. */ D. \* This is a comment. *\ Answer: Q.2 Which of the following methods cause the String object referenced by s to be changed? (3 mark) A. s.concat() B. s.toUpperCase() C. s.replace() D. None of the above. An

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档