桂电JAVA题库重点(含答案翻译).docVIP

  • 62
  • 0
  • 约2.51万字
  • 约 22页
  • 2016-04-10 发布于湖北
  • 举报
1、 Which of the following is not a valid Java identifier? A. my Value B. $_AAA1 C. width D. m_x 2、 Sending a message to an object means that: A. You call a method of the object.你对象的调用一个方法。 B. You access a variable of the object. C. Both (a) and (b). D. Neither (a) nor (b). 3、 Which of the following is a Scanner method? A. nextLine. B. nextText. C. nextWord. D. readNext. 4、 Which is a correct static method call of Math class method sqrt? A. sqrt( 900 );. B. math.sqrt( 900 );. C. Math.sqrt( 900 );. D. Math math = new Math(); math.sqrt( 900 );. 5、 Declaring main as ________ allows the JVM

文档评论(0)

1亿VIP精品文档

相关文档