网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

运行jar文件中class文件需要在java命令后面加的参数为()。

  • A、-cp
  • B、-g
  • C、-d
  • D、-verbose

参考答案

更多 “运行jar文件中class文件需要在java命令后面加的参数为()。A、-cpB、-gC、-dD、-verbose” 相关考题
考题 JAVA源程序编译后生成字节码(.class文件),程序需要在JAVA虚拟机中运行。() 此题为判断题(对,错)。

考题 ( 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类分解器

考题 若要一个Applet能够正常运行于浏览器中,除了iava和.class文件之外必须建立 ______。A.HTML文件B.OBJ文件C.EXE文件D.JAR文件

考题 下列叙述中,错误的是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

考题 jar命令的参数可以创建归档文件得分() A、cB、vC、fD、x

考题 以下不属于Java程序结构文件的是( )。A.asp文件B.java文件C.class文件D.jar文件

考题 下列用于Java解析类文件的命令是( )。A.javaB.javacC.javapD.jar

考题 jar命令的()参数可以创建归档文件 A、byteB、shortC、charD、float

考题 在WEB应用程序的目录结构中,在WEB-INF文件夹外的文件为()。A、.jsp文件B、.class文件C、.jar文件D、web.xml文件

考题 在WEB应用程序的目录结构中,WEB-INF文件夹外的文件为() A、JSP文件B、Class文件C、.jar文件D、web.xml文件

考题 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.

考题 在WEB-INF目录下,必须存放的文件为:()A、class文件B、web.xmlC、jar文件D、html文件

考题 在运行字节码文件时,使用java命令,一定要给出字节码文件的扩展名.class。

考题 若使当前编译的Java文件所引用的类文件不在当前目录下,需要在Java命令后面添加参数()。A、-cpB、-gC、-classpathD、-verbose

考题 JAVA程序包括源代码(.java文件)、()、由归档工具jar生成的.jar文件、对象状态序列化.ser文件。

考题 复制文件时如果要进行覆盖,需要在cp命令后面添加的参数是()A、lB、rfC、iD、a

考题 以下关于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命令,一定要给出字节码文件的扩展名.class。A 对B 错

考题 单选题若使当前编译的Java文件所引用的类文件不在当前目录下,需要在Java命令后面添加参数()。A -cpB -gC -classpathD -verbose

考题 单选题以下关于java命令作用的描述中,正确的是()。A 它专门负责解析由Java编译器生成的.class文件B 它可以将编写好的Java文件编译成.class文件C 可以把文件压缩D 可以把数据打包

考题 单选题运行jar文件中class文件需要在java命令后面加的参数为()。A -cpB -gC -dD -verbose

考题 填空题JAVA程序包括源代码(.java文件)、()、由归档工具jar生成的.jar文件、对象状态序列化.ser文件。

考题 单选题下面说法正确的是()A Java程序的源文件名称与主类(puublic class)的名称相同,后缀可以是.java或.txt等B JDK的编译命令是javaC 一个java源文件编译后可能产生多个class文件D 在命令行编译好的字节码文件,只需在命令行直接输入程序名即可运行该程序