Given the following directory structure: bigProject |--source | |--Utils.java | |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result? ()A、If the compile

题目

Given the following directory structure: bigProject |--source | |--Utils.java | |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result? ()

  • A、If the compile is successful, Utils.class is added to the source directory.
  • B、The compiler returns an invalid flag error.
  • C、If the compile is successful, Utils.class is added to the classes directory.
  • D、If the compile is successful, Utils.class is added to the bigProject directory.

相似考题
参考答案和解析
正确答案:C
更多“Given the following directory st”相关问题
  • 第1题:

    Given the security constraint in a DD:// 101. 102. 103.Foo 104./Bar/Baz/* 105.POST 106. 107. 108.DEVELOPER 109. 110. And given that "MANAGER" is a valid role-name,which four are true for this security constraint?()

    • A、MANAGER can do a GET on resources in the /Bar/Baz directory.
    • B、MANAGER can do a POST on any resource in the /Bar/Baz directory.
    • C、MANAGER can do a TRACE on any resource in the /Bar/Baz directory.
    • D、DEVELOPER can do a GET on resources in the /Bar/Baz directory.
    • E、DEVELOPER can do only a POST on resources in the /Bar/Baz directory.
    • F、DEVELOPER can do a TRACE on any resource in the /Bar/Baz directory.

    正确答案:A,C,D,F

  • 第2题:

    Which of the following servers resolves computer names to IP addresses? ()

    • A、 Directory services
    • B、 DNS
    • C、 NTP
    • D、 DHCP

    正确答案:B

  • 第3题:

    Given the following output:  prompt> myapp   [1]+ Stopped myapp  prompt>   Which of the following commands will resume executing the stopped process while allowing the user to continue to type commands at the command prompt?()

    • A、 bg myapp
    • B、 continue myapp
    • C、 exec myapp
    • D、 fg myapp
    • E、 myapp &

    正确答案:A

  • 第4题:

    Which of the following commands is used to delete an empty directory?()

    • A、RD
    • B、EDIT
    • C、DIR
    • D、FORMAT

    正确答案:A

  • 第5题:

    Which of the following commands would be used to move the working directory from C:/ to C:/Windows?()

    • A、CD
    • B、RD
    • C、MD
    • D、SFC

    正确答案:A

  • 第6题:

    Which of the following commands should be used to monitor the number of threads on the scheduler’s run queue for any given interval?()

    • A、 sar
    • B、 pstat
    • C、 iostat
    • D、 filemon

    正确答案:A

  • 第7题:

    Given the following directory structure: bigProject |--source ||--Utils.java| |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result?()

    • A、If the compile is successful, Utils.class is added to the source directory.
    • B、The compiler returns an invalid flag error.
    • C、If the compile is successful, Utils.class is added to the classes directory.
    • D、If the compile is successful, Utils.class is added to the bigProject directory.

    正确答案:C

  • 第8题:

    单选题
    A user reports that they cannot cd to /tmp/application. A system administrator entered the following    command: Is -Id /tmp/application   drw-r-r- 4 root system 512 Jan 15 14:09 application Which of the following is the most likely cause of the  problem()
    A

    The /tmp/application should be globally writable.

    B

    The /tmp/application directory should be executable.

    C

    The /tmp/application directory should be owned by the user.

    D

    The /tmp/application directory should have the sticky bit set


    正确答案: C
    解析: 暂无解析

  • 第9题:

    单选题
    Given that file is a reference to a File object that represents a directory, which code fragments will succeed in obtaining a list of the entries in the directory?()
    A

    Vector filelist = ((Directory) file).getList();

    B

    String[] filelist = file.directory();

    C

    Enumeration filelist = file.contents();

    D

    String[] filelist = file.list();

    E

    Vector filelist = (new Directory(file)).files();


    正确答案: C
    解析: 暂无解析

  • 第10题:

    单选题
    Given the following directory structure: bigProject |--source ||--Utils.java| |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result?()
    A

    If the compile is successful, Utils.class is added to the source directory.

    B

    The compiler returns an invalid flag error.

    C

    If the compile is successful, Utils.class is added to the classes directory.

    D

    If the compile is successful, Utils.class is added to the bigProject directory.


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    Which of the following command line utilities allows a technician to create a new directory?()
    A

    RD

    B

    CD

    C

    DIR

    D

    MD


    正确答案: C
    解析: 暂无解析

  • 第12题:

    Which of the following contains the user profile directory for Microsoft Windows 2000 and XP?()

    • A、Users
    • B、My Documents
    • C、Documents and Settings
    • D、Application Data

    正确答案:C

  • 第13题:

    Which of the following server types stores users’ home directory folders?()

    • A、Application
    • B、File
    • C、Directory services
    • D、Print

    正确答案:B

  • 第14题:

    Which of the following commands will make a new directory?()

    • A、cd
    • B、md
    • C、dir
    • D、rd

    正确答案:B

  • 第15题:

    Which of the following is the default directory for User Profiles in Windows 7?()

    • A、C:/Profiles
    • B、C:/User Profiles
    • C、C:/Users/Profiles
    • D、C:/Users

    正确答案:D

  • 第16题:

    Machine policy templates can be assigned based on certain attributes of a machine. A customer  organizes their machines based on the following requirements:   The machines are all placed in specific Organizational Units in the Active Directory.   The customer has Citrix Servers, and they have a specific naming convention meant only for their Citrix Servers. The customer has DHCP enabled for all the client machines.   The customer has made it clear that they should not need to change anything in the existing infrastructure. Given these requirements, which single assignment attribute would be chosen for assigning machine policy templates?()

    • A、Hostnames
    • B、IP Addresses
    • C、Machine Group Tag
    • D、Active Directory Groups

    正确答案:C

  • 第17题:

    Which of the following commands should be used to show the percentage of time that any given disk was busy?()

    • A、 ps
    • B、 tprof
    • C、 iostat
    • D、 vmstat

    正确答案:C

  • 第18题:

    单选题
    In a given month, Friday is the 21st day of the month. What day of the week was the 5th of the month? ()
    A

    Monday

    B

    Thursday

    C

    Saturday

    D

    Wednesday


    正确答案: A
    解析: 暂无解析

  • 第19题:

    单选题
    Given the following routing table entries, which of the following will the next-hop address be for a packet destined for the address 192.168.1.203?()
    A

    77.0.5.5

    B

    40.40.0.254

    C

    66.40.90.121

    D

    72.40.91.1


    正确答案: C
    解析: 暂无解析

  • 第20题:

    单选题
    Which of the following terms would best describe the temperature at which a liquid boils at a given pressure?()
    A

    Degree of saturation

    B

    Saturation temperature

    C

    Superheated temperature

    D

    Degree of superheat


    正确答案: B
    解析: 暂无解析

  • 第21题:

    多选题
    Given the security constraint in a DD:// 101. 102. 103.Foo 104./Bar/Baz/* 105.POST 106. 107. 108.DEVELOPER 109. 110. And given that "MANAGER" is a valid role-name,which four are true for this security constraint?()
    A

    MANAGER can do a GET on resources in the /Bar/Baz directory.

    B

    MANAGER can do a POST on any resource in the /Bar/Baz directory.

    C

    MANAGER can do a TRACE on any resource in the /Bar/Baz directory.

    D

    DEVELOPER can do a GET on resources in the /Bar/Baz directory.

    E

    DEVELOPER can do only a POST on resources in the /Bar/Baz directory.

    F

    DEVELOPER can do a TRACE on any resource in the /Bar/Baz directory.


    正确答案: A,C,D,F
    解析: 暂无解析

  • 第22题:

    单选题
    Given that the current directory is empty, and that the user has read and write privileges to the current directory, and the following: Which statement is true?()
    A

    Compilation fails.

    B

    Nothing is added to the file system.

    C

    Only a new file is created on the file system.

    D

    Only a new directory is created on the file system.

    E

    Both a new file and a new directory are created on the file system.


    正确答案: A
    解析: 暂无解析