Given:And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATHenvironment variable is set to "." (current directory). Which two java commands entered at the command line will run MainClass?()A.java MainClass if run from th

题目

Given:And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATHenvironment 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


相似考题
更多“Given:And MainClass exists in the /apps/com/company/application directory. Assume the CLAS ”相关问题
  • 第1题:

    Youworkastheenterpriseexchangeadministratoratcompany.com.thecompany.comnetworkconsistsofasingleactivedirectorydomainnamedcompany.com.company.comhasanexchangeserver2010organization.anewcompany.comsecuritypolicyprohibitstheemployeestosendcertainwordsininternale-mailcommunications.whatshouldyoudo?()

    A.thebestoptionistochangethepropertiesofasendconnectortocomplywiththecompany.comsecuritypolicy.

    B.thebestoptionistosetupacontentfilteringfeaturetocomplywiththecompany.comsecuritypolicy.

    C.thebestoptionistocreateatransportruletocomplywiththecompany.comsecuritypolicy.

    D.thebestoptionistosetupasenderreputationfeaturetocomplywiththecompany.comsecuritypolicy.


    参考答案:C

  • 第2题:

    AsanadministratoratCer-tech.com,youhaveinstalledanewservernamedMS12thatrunsWindowsServer2008.Thisservershouldbeusedforsteamingmediapurposes.SoyouinstallStreamingMediaServicesroleontheserver.SinceallclientmachineshaveWindowsVistaastheiroperatingsystemandtheyonlyuseWindowsMediaPlayer11application,youconfigureaPublishingPointandassignsourceofcontentthathasvideomedia.UsersreportthattheyareunabletopauseandrewindthevideousingWindowsMediaPlayer11.

    Whatshouldyoudotoensurethatusershavefullplaybackcontrolofthe streamingmedia?()


    参考答案:B

  • 第3题:

    信息交换的范围可以分为应用内部(Intra-Application)、应用之间(Inter-Application)、系统之间(Inter-System)和公司之间(Inter-Company)。XML可以用以进行上述任意类型的信息交换。


    内部信息资源;外部信息资源;公开信息资源;秘密信息资源

  • 第4题:

    Company.comnetworkconsistsofasingleActiveDirectorydomainnamedCompany.com.Company.comhasanExchangeServer2010organization.YouhavereceivedinstructionsfromtheCIOtouseawildcardcertificateforOutlookAnywhere.YounowneedtosetuptheExchangeServer2010organizationforthewildcardcertificate.Whatshouldyoudo?()

    A.ThebestoptionistochangetheRPCvirtualdirectoryfromtheInternetInformationServices(IIS)Manager.

    B.ThebestoptionistochangethepropertiesoftheWEBOutlookProviderfromtheExchangeManagementShell.

    C.ThebestoptionistochangetheRPCvirtualdirectoryfromtheAutodiscovervirtualdirectory.

    D.ThebestoptionistochangethepropertiesoftheEXPROutlookProviderfromtheExchangeManagementShell.


    参考答案:D

  • 第5题:

    阅读以下说明,回答问题1至问题4,将解答填入答题纸对应的解答栏内。 【说明】 某公司的IDC(互联网数据中心)服务器Server1采用Windows Server 2003操作系统,IP地址为172.16.145.128/24,为客户提供Web服务和DNS服务;配置了三个网站,域名分别为www.company1.com、www.company2.com和www.company3.com,其中company1使用默认端口。基于安全的考虑,不允许用户上传文件和浏览目录。company1.com、company2.com和company3.com对应的网站目录分别为company1-web、company2-web和company3-web,如图3-1所示。图3-1

    【问题1】(2分,每空1分) 为安装Web服务和DNS服务,Server1必须安装的组件有(1)和(2)。 (1)~(2)备选答案: A.网络服务 B.应用程序服务器 C.索引服务 D.证书服务 E.远程终端 【问题2】(4分,每空2分) 在IIS中创建这三个网站时,在图3-2中勾选读取、(3)和执行,并在图3-3所示的文档选项卡中添加(4)为默认文档。图3-2图3-3 【问题3】(6分,每空1分) 1、为了节省成本,公司决定在一台计算机上为多类用户提供服务。使用不同端口号来区分不同网站,company1使用默认端口(5),company2和company3的端口应在1025至(6)范围内任意选择,在访问company2或者company3时需在域名后添加对应端口号,使用(7)符号连接。设置完成后,管理员对网站进行了测试,测试结果如图3-4所示,原因是(8) 。图3-4 (8)备选答案: A.IP地址对应错误 B.未指明company1的端口号 C.未指明company2的端口号 D.主机头设置错误 2、为便于用户访问,管理员决定采用不同主机头值的方法为用户提供服务,需在DNS服务中正向查找区域为三个网站域名分别添加(9) 记录。网站company2的主机头值应设置为(10) 。 【问题4】(8分,每空2分) 随着company1网站访问量的不断增加,公司为company1设立了多台服务器。下面是不同用户ping网站www.company1.com后返回的IP地址及响应状况,如图3-5所示。 Microsoft windows[版本 5.2.3790] (c)版权所有 1985-2003 Microsoft Corp. C:\Users>ping www.company1.com pinging company1.wscache.ourglb0.com[172.16.145.192]with 32 bytes of data: Reply from 172.16.145.192:bytes=32 time=11ms TTL=57 Reply from 172.16.145.192:bytes=32 time=13ms TTL=57 Reply from 172.16.145.192:bytes=32 time=15ms TTL=57 Reply from 172.16.145.192:bytes=32 time=13ms TTL=57 ping statistics for 172.16.145.192: packets:Sent=4,Received=4,Lost=0<0% Loss>, Approximate round trip times in milli-seconds: Minimum=11ms,Maximum=15ms,Average=13ms Microsoft windows[版本 10.0.10586] (c)Microsoft Corporation. C:\Users>ping www.company1.com pinging company1.wscache.ourglb0.com[172.16.145.192]with 32 bytes of data: Reply from 172.16.145.192:bytes=32 time=5ms TTL=57 Reply from 172.16.145.192:bytes=32 time=6ms TTL=57 Reply from 172.16.145.192:bytes=32 time=5ms TTL=57 Reply from 172.16.145.192:bytes=32 time=9ms TTL=57 ping statistics for 172.16.145.192: packets:Sent=4,Received=4,Lost=0<0% Loss>, Approximate round trip times in milli-seconds: Minimum=5ms,Maximum=9ms,Average=6ms 图3-5 从图3-5可以看出,域名www.company1.com对应了多个IP地址,说明在图3-6所示的DNS属性中启用了(11) 功能。 在图3-6中勾选了“启用网络掩码排序”后,当存在多个匹配记录时,系统会自动检查这些记录与客户端IP的网络掩码匹配度,按照(12) 原则来应答客户端的解析请求。如果勾选了“禁用递归”,这时DNS服务器仅采用(13) 查询模式。当同时启用了网络掩码排序和循环功能时,(14) 优先级较高。 (14)备选答案: A.循环 B.网络掩码排序


    正确答案:问题1:(每空1分,共2分)
    (1)B
    (2)A
    问题2:(每空2分,共4分)
    (3)运行脚本
    (4)index.html
    问题3:(每空1分,共6分)
    (5)80
    (6)65535
    (7):
    (8)C
    (9)A
    (10)www.commany2.com
    问题4:(每空2分,共8分)
    (11)启用循环
    (12)掩码接近度匹配,对来访者实行的本地子网优先级匹配
    (13)迭代
    (14)B