单选题运行jar文件中class文件需要在java命令后面加的参数为()。A-cpB-gC-dD-verbose
单选题
运行jar文件中class文件需要在java命令后面加的参数为()。
A
-cp
B
-g
C
-d
D
-verbose
参考解析
解析:
暂无解析
相关考题:
( 22 )下列叙述中,错误的是A ) Java Application 与 Applet 所用编译命令相同B )通常情况下 Java Application 只能有一个 main() 方法C ) Java Applet 必须有 HTML 文件才能运行D ) Java Applet 程序的 .class 文件可用 java 命令运行
Class类的对象由( )自动生成,隐藏在.class文件中,它在运行时为用户提供信息。A.Java编译器SXB Class类的对象由( )自动生成,隐藏在.class文件中,它在运行时为用户提供信息。A.Java编译器B.Java解释器C.Java new关键字D.Java类分解器
下列叙述中,错误的是A.Java Application与Applet 所用编译命令相B.通常情况下Java Application 只能有一个main()方法C.Java Applet 必须有HTML文件才能运行D.Java Applet程序的.class文件可用java命令运行
要运行一个名为Test.class的类文件,需要在DOS提示符下输入( )命令。A.javac TestB.javac Test. classC.java TestD.java Test. class
A developer is creating a class Book that needs to access class Paper.The Paper class is deployed in a JARnamedmyLib.jar.Whichthree,taken independently,will allow the developer to use the Paper class while compiling the Book class?()A、The JAR fileis located at$JAVA_HOME/jre/classes/myLib.jar.B、The JAR fileis located at$JAVA_HOME/jre/lib/ext/myLib.jar.C、TheJ AR fileis located at/foo/myLib.jar and aclasspath environment variable is set that includes /foo/myLib.jar/Paper.class.D、The JAR fileis located at/foo/myLib.jar and a classpath environment variable is set that includes/foo/myLib.jar.E、The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-cp/foo/myLib.jar/Paper Book.java.F、The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-classpath/foo/myLib.jar Book.java.
以下关于java命令作用的描述中,正确的是()。A、它专门负责解析由Java编译器生成的.class文件B、它可以将编写好的Java文件编译成.class文件C、可以把文件压缩D、可以把数据打包
下面说法正确的是()A、Java程序的源文件名称与主类(puublic class)的名称相同,后缀可以是.java或.txt等B、JDK的编译命令是javaC、一个java源文件编译后可能产生多个class文件D、在命令行编译好的字节码文件,只需在命令行直接输入程序名即可运行该程序
A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar. Which three, taken independently, will allow the developer to use the Paper class while compiling the Bookclass?()A、The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.B、The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..C、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.D、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.E、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - cp /foo/myLib.jar/Paper Book.java.F、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - classpath /foo/myLib.jar Book.java
单选题以下关于java命令作用的描述中,正确的是()。A它专门负责解析由Java编译器生成的.class文件B它可以将编写好的Java文件编译成.class文件C可以把文件压缩D可以把数据打包
单选题下面说法正确的是()AJava程序的源文件名称与主类(puublic class)的名称相同,后缀可以是.java或.txt等BJDK的编译命令是javaC一个java源文件编译后可能产生多个class文件D在命令行编译好的字节码文件,只需在命令行直接输入程序名即可运行该程序