分页:
[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页