试题详情
- 多项选择题 And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment 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
- B,C
关注下方微信公众号,在线模考后查看
热门试题
- 下列哪些访问修饰符是在子类中可见的?()
- 针对Set
- 组件与模型分离的作用是什么?()
- 什么是分层窗格?()
- 编写一个Java程序在屏幕上输出“你好!
- 1. class
- public class&e
- System.out.println(M
- 在Swing GUI编程中,
- Given: 3
- Which two̳
- Given: 11.
- 给一个不多于5位的正整数,要求:一、求它
- 编写Applet程序实现一个计算器,包括
- 多线程中,可以通过调用相应的()方法来修
- 在Java中,关于HashMap类的描述
- What is th
- 组件的getBounds()方法返回值的
- What is th
- 一个整数,它加上100后是一个完全平方数