当前位置:SCJP程序员认证考试题库

问题:

[多选]

package com.company.application; 
public class MainClass { 
public static void main(String[] args) { } 
} 
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

有个学生,在老师上课板书时,常用两手食指敲打桌沿,发出“哒哒声”的响声。虽然有老师警告说查出来要处分,可总是禁而不绝。后来,一位音乐老师找到了这个学生。他怯生生地站在老师面前,等待批评和处分。出乎预料的是老师不仅没有责备他,反而笑着说:“你参加乐队打鼓好吗?”学生愣了,以为老师讽刺他,不敢答话。老师接着说:“学生乐队缺一名鼓手,我觉得你有条件当。但是,你在上课时要认真听课,遵守课堂纪律,不要再敲桌子了,好吗?”学生点点头,泪水却止不住地流了下来。后来,这个学生敲鼓进步很快,上课也不再敲桌沿了。详细分析案例中突出运用了哪些德育原则? 现代公共关系工作的基本原则是()。 互利互惠原则。 双向沟通原则。 长期坚持原则。 实事求是原则。 在职位分类模式中,公务员岗位按照哪些因素进行划分?() 工作性质。 难易程度。 责任轻重。 所需资格。 经济体制改革是建立公务员制度的根本动力。 早期“软片式连续摄影机”一条感光片能拍摄多少张照片() 10张。 20张。 30张。 40张。

package com.company.application; 
public class MainClass { 
public static void main(String[] args) { } 
} 
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?()

参考答案:

  参考解析

本题暂无解析

在线 客服