单选题Given the fully-qualified class names:  com.foo.bar.Dog  com.foo.bar.blatz.Book  com.bar.Car  com.bar.blatz.Sun  Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JYM?()AJar A

题目
单选题
Given the fully-qualified class names:  com.foo.bar.Dog  com.foo.bar.blatz.Book  com.bar.Car  com.bar.blatz.Sun  Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JYM?()
A

 Jar A

B

 Jar B

C

 Jar C

D

 Jar D

E

 Jar E


相似考题
更多“Given the fully-qualified class names:  com.foo.bar.Dog  com”相关问题
  • 第1题:

    Click the Exhibit button. Given the fully-qualified class names: com.foo.bar.Dog com.foo.bar.blatz.Book com.bar.Car com.bar.blatz.Sun Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JVM? ()

    A.Jar A

    B.Jar B

    C.Jar C

    D.Jar D

    E.Jar E


    参考答案:A

  • 第2题:

    YouworkasadatabaseadministratorforCertkiller.com.YoudecidedtomanageclientandserverconnectionsusingLocalNamingmethodinCertkiller.com.Whenyoutrytoconnecttothedatabaseyougetthefollowingerror:ERROR:ORA-12154:TNS:couldnotresolveservicenameWhichnetworkconfigurationfileswouldyoulookintotoresolvethiserror?()

    A.snmp.ora

    B.names.ora

    C.spfile.ora

    D.sqlnet.ora

    E.listener.ora

    F.tnsnames.ora


    参考答案:D, F

  • 第3题:

    现有如F包结构:      com     |一一X      |    |一一Alpha.class     |    |      |    |一一y      I         |一一Beta.class     |      |l-- Gamma.class    和类:      class Test  {  Alpha a;  Beta b; Gamma c;  }  哪三个必须加入到类Test中,以使其通过编译?() 

    • A、 package y;
    • B、 package com;
    • C、 import com.x.y.*;
    • D、 import com.x.*;

    正确答案:B,C,D

  • 第4题:

    You work as an application developer at Certkiller .com. Certkiller .com has asked you to develop an application that monitors and controls the activities of a Windows service.You need to use the appropriate class to meet Certkiller .com’s requirements. What should you do?()

    • A、 Use the ServiceBase class.
    • B、 Use the ServiceInstaller class.
    • C、 Use the ServiceManager class.
    • D、 Use the ServiceController class.

    正确答案:D

  • 第5题:

    DNS servers provide what service?()

    • A、they run a spell check on host names to ensure accurate routing
    • B、they map individual hosts to their specific IP address
    • C、they convert domain names into IP address
    • D、Given an IP address,they determine the name of the host that is…

    正确答案:C

  • 第6题:

    Given a correctly compiled class whose source code is:  package com.sun.sjcp;  public class Commander {  public static void main(String[] args) {  // more code here  }  }  Assume that the class file is located in /foo/com/sun/sjcp/, the current directory is /foo/, and that the classpath contains “.“ (current directory). Which command line correctly runs Commander?() 

    • A、 java Commander
    • B、 java com. sim. sjcp.Commander
    • C、 java com/sun/sjcp/Commander
    • D、 java -cp com.sun.sjcp Commander
    • E、 java -cp com/sun/sjcp Commander

    正确答案:B

  • 第7题:

    Given the following six method names: add Listener add Mouse Listener set Mouse Listener delete Mouse Listener remove Mouse Listener register Mouse Listener How many of these method names follow JavaBean Listener naming rules?()

    • A、1
    • B、2
    • C、3
    • D、4

    正确答案:B

  • 第8题:

    You work as an application developer at Certkiller .com. You are developing a collection class named ClientCollection, which is to be used for storing the names of Certkiller .com’s clients that are situated in various geographical areas. These client names are represented by the Client class. You are planning to create a method named SortClients in the ClientCollection class to arrange Client objects in ascending order. You need to ensure that the appropriate interface is implemented by the Client class to allow sorting.What interface should be used?()

    • A、 IDictionary
    • B、 IComparable
    • C、 IComparer
    • D、 IEqualityComparer

    正确答案:B

  • 第9题:

    You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform.You are developing a .NET Framework 2.0 application used to store a type-safe list of names and e-mail addresses. The list will be populated all at ones from the sorted data which means you well not always need to perform insertion or deletion operations on the data. You are required to choose a data structure that optimizes memory use and has good performance.What should you do?()

    • A、 The System.Collections.Generic.SortedList class should be used
    • B、 The System.Collections.HashTable class should be used
    • C、 The System.Collections.Generic.SortedDictionary class should be used
    • D、 The System.Collections.SortedList class should be used

    正确答案:A

  • 第10题:

    单选题
    Given the fully-qualified class names:  com.foo.bar.Dog  com.foo.bar.blatz.Book  com.bar.Car  com.bar.blatz.Sun  Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JYM?()
    A

     Jar A

    B

     Jar B

    C

     Jar C

    D

     Jar D

    E

     Jar E


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

  • 第11题:

    单选题
    Given the following six method names:(1)addListener(2)addMouseListener (3)setMouseListener(4)deleteMouseListener(5)removeMouseListener(6)registerMouseListenerHow many of these method names follow JavaBean Listener naming rules?()
    A

    1

    B

    2

    C

    3

    D

    4

    E

    5


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

  • 第12题:

    单选题
    Given a correctly compiled class whose source code is:  package com.sun.sjcp;  public class Commander {  public static void main(String[] args) {  // more code here  }  }  Assume that the class file is located in /foo/com/sun/sjcp/, the current directory is /foo/, and that the classpath contains “.“ (current directory). Which command line correctly runs Commander?()
    A

     java Commander

    B

     java com. sim. sjcp.Commander

    C

     java com/sun/sjcp/Commander

    D

     java -cp com.sun.sjcp Commander

    E

     java -cp com/sun/sjcp Commander


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

  • 第13题:

    Given:Which statement is true about the class of an object that can reference the variable base? ()

    A.It can be any class.

    B.No class has access to base.

    C.The class must belong to the geometry package.

    D.The class must be a subclass of the class Hypotenuse.


    参考答案:C

  • 第14题:

    DNS servers provide what service?()

    A.they run a spell check on host names to ensure accurate routing

    B.they map individual hosts to their specific IP address

    C.they convert domain names into IP address

    D.Given an IP address,they determine the name of the host that is…


    参考答案:C

  • 第15题:

    现有包结构:  com |-- x | |-- Alpha.class | | | |-- y | |-- Beta.class | |-- Gamma.class  和类:  //insert code here  import com.*;  import com.x.y.*;  class Test { Alpha a; Beta b; Gamma c; }  哪两行分别插入后可允许代码编译?() 

    • A、package com.;
    • B、import com.x;
    • C、package com.x;
    • D、import com.x.Alpha;

    正确答案:C,D

  • 第16题:

    现有如下包结构:  com |-- x | |-- Alpha.class | | | |-- y | |-- Beta.class | |-- Gamma.class  和类:  class Test { Alpha a; Beta b; Gamma c; }  哪三个必须加入到类 Test 中,以使其通过编译?()

    • A、package y;
    • B、package com;
    • C、import com.x.*;
    • D、import com.x.y.*

    正确答案:B,C,D

  • 第17题:

    DNS servers provide what service?()

    • A、They run a spell check on host names to ensure accurate routing
    • B、They convert domain names into IP address
    • C、Given an IP address,they determine the name of the host that is sought
    • D、They map individual hosts to their specific IP addresses

    正确答案:B

  • 第18题:

    Given the fully-qualified class names:  com.foo.bar.Dog  com.foo.bar.blatz.Book  com.bar.Car  com.bar.blatz.Sun  Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JYM?() 

    • A、 Jar A
    • B、 Jar B
    • C、 Jar C
    • D、 Jar D
    • E、 Jar E

    正确答案:A

  • 第19题:

    You work as an application developer at Certkiller .com. Certkiller .com has been contracted to develop an application for the local bank.You have been given the responsibility of creating this application and need to store each transaction record, which is identified using a complex transaction identifier,in memory. The bank informs you that the total amount of transaction records could reach 200 per day. To achieve this, you decide to utilize one of the existing collection classes in the .NET 2.0 class library. You need to ensure that you the collection class you select is the most efficient one for storing transaction records.What should you do?()

    • A、 Select the ListDictionary collection class.
    • B、 Select the HashTable collection class.
    • C、 Select the Queue collection class.
    • D、 Select the StringCollection collection class.

    正确答案:B

  • 第20题:

    Your network contains an Active Directory forest. The forest contains two domains named contoso.com and nwtraders.com.You have a DNS server named DNS1. DNS1 hosts Active Directory-integrated zones for contoso.com and nwtraders.com.You discover that client computers in contoso.com cannot use single-label names to access servers in nwtraders.com.You need to ensure that contoso.com computers can access nwtraders.com servers by using single-label names.What should you modify?()

    • A、the DNS suffix search order on DNS1
    • B、the DNS suffix search order on the client computers
    • C、the root hints servers on DNS1
    • D、the security settings of the nwtraders.com zone

    正确答案:B

  • 第21题:

    单选题
    You work as an application developer at CER-Tech.com. Cert-Tech.com uses Visual studio.NET 2005 as its Application Development platform.You are developing a .NET Framework 2.0 application used to store a type-safe list of names and e-mail addresses. The list will be populated all at ones from the sorted data which means you will not always need to perform insertion or deletion operations on the data. You are required to choose a data structure that optimizes memory use and has good performance.What should you do?()
    A

     The System.Collections.Generic.SortedList class should be used 

    B

     The System.Collections.HashTable class should be used

    C

     The System.Collections.Generic.SortedDictionary class should be used 

    D

     The System.Collections.SortedList class should be used


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

  • 第22题:

    单选题
    You work as an application developer at Certkiller .com. You are developing a collection class named ClientCollection, which is to be used for storing the names of Certkiller .com’s clients that are situated in various geographical areas. These client names are represented by the Client class. You are planning to create a method named SortClients in the ClientCollection class to arrange Client objects in ascending order. You need to ensure that the appropriate interface is implemented by the Client class to allow sorting.What interface should be used?()
    A

     IDictionary

    B

     IComparable

    C

     IComparer

    D

     IEqualityComparer


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

  • 第23题:

    单选题
    You work as an application developer at Certkiller .com. Certkiller .com has asked you to develop an application that monitors and controls the activities of a Windows service.You need to use the appropriate class to meet Certkiller .com’s requirements. What should you do?()
    A

     Use the ServiceBase class.

    B

     Use the ServiceInstaller class.

    C

     Use the ServiceManager class.

    D

     Use the ServiceController class.


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

  • 第24题:

    单选题
    Given the following six method names: add Listener add Mouse Listener set Mouse Listener delete Mouse Listener remove Mouse Listener register Mouse Listener How many of these method names follow JavaBean Listener naming rules?()
    A

    1

    B

    2

    C

    3

    D

    4


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