多选题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 commandline will run MainClass?()Ajava MainClass if run fro
题目
多选题
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 commandline will run MainClass?()
Ajava MainClass if run from the /apps directory
Bjava com.company.application.MainClass if run from the /apps directory
Cjava -classpath /apps com.company.application.MainClass if run from any directory
Djava -classpath . MainClass if run from the /apps/com/company/application directory
Ejava -classpath /apps/com/company/application:. MainClass if run from the /apps directory