If the compile is successful, Utils.class is added to the source directory.
The compiler returns an invalid flag error.
If the compile is successful, Utils.class is added to the classes directory.
If the compile is successful, Utils.class is added to the bigProject directory.
第1题:
Given:And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATHenvironment variable is set to "." (current directory). Which two java commands entered at the command line will run MainClass?()
A.java MainClass if run from the /apps directory
B.java com.company.application.MainClass if run from the /apps directory
C.java -classpath /apps com.company.application.MainClass if run from any directory
D.java -classpath . MainClass if run from the /apps/com/company/application directory
E.java -classpath /apps/com/company/application:. MainClass if run from the /apps directory
F.java com.company.application.MainClass if run from the /apps/com/company/application directory
第2题:
A.Compilation fails.
B.Nothing is added to the file system.
C.Only a new file is created on the file system.
D.Only a new directory is created on the file system.
E.Both a new file and a new directory are created on the file system.
第3题:
A.RD
B.CD
C.DIR
D.MD
第4题:
A customer wants to know what version of DirectX the current workstation has installed. Which of the following command line tools would the customer use?()
第5题:
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?()
第6题:
Given the following directory structure: bigProject |--source ||--Utils.java| |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result?()
第7题:
Given the following directory structure: bigProject |--source | |--Utils.java | |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result? ()
第8题:
echo $PWD
echo $pwd
echo $CWD
echo $cwd
第9题:
java Commander
java com.sim.sjcp.Commander
java com/sun/sjcp/Commander
java-cpcom.sun.sjcp Commander
java-cpcom/sun/sjcp Commander
第10题:
If the compile is successful, Utils.class is added to the source directory.
The compiler returns an invalid flag error.
If the compile is successful, Utils.class is added to the classes directory.
If the compile is successful, Utils.class is added to the bigProject directory.
第11题:
javac Mule.java
javac -source 1.3 Mule.java
javac -source 1.4 Mule.java
javac -source 1.5 Mule.java
第12题:
Use the Publish Web tool.
Use the Copy Web tool.
Use the command line to XCOPY the files.
Create a Web Setup project.
第13题:
Given two files, GrizzlyBear.java and Salmon.java:If both classes are in the correct directories for their packages, and the Mammal class correctly defines the findSalmon() method, which change allows this code to compile?()
A.add import animals.mammals.*; at line 2 in Salmon.java
B.add import animals.fish.*; at line 2 in GrizzlyBear.java
C.add import animals.fish.Salmon.*; at line 2 in GrizzlyBear.java
D.add import animals.mammals.GrizzlyBear.*; at line 2 in Salmon.java
第14题:
A.Compilation fails.
B.The file system has a new empty directory named dir.
C.The file system has a new empty directory named newDir.
D.The file system has a directory named dir, containing a file f1.txt.
E.The file system has a directory named newDir, containing a file f1.txt.
第15题:
If this source code is contained in a file called SmallProg.java, what command should be used to compile it using the JDK?() public class SmallProg { public static void main(String args[]) { System.out.println("Good luck!"); } }
第16题:
Which of the following command line utilities allows a technician to create a new directory?()
第17题:
Given a correctly compiled class whose source code is: package com.sun.sjcp; public class Commander { public static void main(String[] args) { // more code here } } Assume that the class file is located in /foo/com/sun/sjcp/, the current directory is /foo/, and that the classpath contains “.“ (current directory). Which command line correctly runs Commander?()
第18题:
What is the correct command to display the current working directory?()
第19题:
Run the regsvr32 schmmgmt.dll command. Use the Active Directory Domains and Trusts snap-in.
Run the regsvr32 schmmgmt.dll command. Use the Active Directory Users and Computers snap-in.
Use the Dsget command-line tool.
Use the Dsquery command-line tool.
第20题:
java Commander
java com. sim. sjcp.Commander
java com/sun/sjcp/Commander
java -cp com.sun.sjcp Commander
java -cp com/sun/sjcp Commander
第21题:
If the compile is successful, Utils.class is added to the source directory.
The compiler returns an invalid flag error.
If the compile is successful, Utils.class is added to the classes directory.
If the compile is successful, Utils.class is added to the bigProject directory.
第22题:
Compilation fails.
Nothing is added to the file system.
Only a new file is created on the file system.
Only a new directory is created on the file system.
Both a new file and a new directory are created on the file system.
第23题:
edit
systeminfo
gpedit.msc
dxdiag
第24题:
RD
CD
DIR
MD