欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > Oracle认证考试 > OCJP(310-065)

多项选择题

Given:

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

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题