考试网 >> IT认证 >> JAVA >> JAVA题库 >> SCJP模拟试题[3]

SCJP模拟试题[3]

发布时间:2006-06-28 10:42     点击:
分页:[1] 2 3 4 5 6 7 8 9 10  下一页  后10页

此套试题由60道题组成(实际考试为60道题)。

试题由单选题和多选题组成,单选题将提示:Select the most appropriate answer,多选题将提示:Select all correct answers。

答案在最后。



--------------------------------------------------------------------------------

Q. 1

Which colour is used to indicate instance methods in the standard "javadoc" format documentation:

blue

red

purple

orange

Select the most appropriate answer.

 

Q. 2

What is the correct ordering for the import, class and package declarations when found in a single file?

package, import, class

class, import, package

import, package, class

package, class, import

Select the most appropriate answer.

 

Q. 3

Which methods can be legally applied to a string object?

equals(String)

equals(Object)

trim()

round()

toString()

Select all correct answers.

 

Q. 4

What is the parameter specification for the public static void main method?

String args []

String [] args

Strings args []

String args

Select all correct answers.

 

Q. 5

What does the zeroth element of the string array passed to the public static void main method contain?

The name of the program

The number of arguments

The first argument if one is present

Select the most appropriate answer.

 

Q. 6

Which of the following are Java keywords?

goto

malloc

extends

FALSE

Select all correct answers

 

Q. 7
分页:[1] 2 3 4 5 6 7 8 9 10  下一页  后10页
版权申明:未经书面授权请勿转载本站信息!!作品版权归所属媒体与作者所有!!
发表评论: 匿名发表 用户名: 查看评论
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容
本站提醒:不要进行人身攻击。谢谢配合。
在本站搜索相关信息
2003-2005 Ksw123.com All Rights Reserved. - TOP
Copyright © 2006 Ksw123.com. All rights reserved.中国考题网 版权所有