此题为判断题(对,错)。
第1题:
Givenacorrectlycompiledclasswhosesourcecodeis:Assumethattheclassfileislocatedin/foo/com/sun/sjcp/,thecurrentdirectoryis/foo/,andthattheclasspathcontains"."(currentdirectory).WhichcommandlinecorrectlyrunsCommander?()
A.javaCommander
B.javacom.sun.sjcp.Commander
C.javacom/sun/sjcp/Commander
D.java-cpcom.sun.sjcpCommander
E.java-cpcom/sun/sjcpCommander
第2题:
Givenacorrectlycompiledclasswhosesourcecodeis:packagecom.sun.sjcp;publicclassCommander{publicstaticvoidmain(String[]args){//morecodehere}}Assumethattheclassfileislocatedin/foo/com/sun/sjcp/,thecurrentdirectoryis/foo/,andthattheclasspathcontains.(currentdirectory).WhichcommandlinecorrectlyrunsCommander?()
A.javaCommander
B.javacom.sim.sjcp.Commander
C.javacom/sun/sjcp/Commander
D.java-cpcom.sun.sjcpCommander
E.java-cpcom/sun/sjcpCommander
第3题:
After a cold front passes the barometric pressure usually ______.
A.fluctuates
B.remains the same
C.remains the same, with clouds forming rapidly
D.rises, often quite rapidly, with clearing skies
第4题:
package com.sun.sjcp;public class Commander{public static void main(String[]args){//more code here}}Assume that the class fileis located in /foo/com/sun/sjcp/,the current directory is/foo/,and that the classpath contains.(current directory).Which command line correctly runs Commander?()
A.java Commander
B.java com.sim.sjcp.Commander
C.java com/sun/sjcp/Commander
D.java-cpcom.sun.sjcp Commander
E.java-cpcom/sun/sjcp Commander
第5题:
______ in the strange city, the poor boy fell to
A. Lost... crying
B. Lost... cry
C. Having been lost... cry
D. To lose... crying
第6题:
After a cold front passes,the barometric pressure______.
A.drops,and the temperature drops
B.drops , and the temperature rises
C.rises,and the temperature drops
D.rises,and the temperature rises