更多“Which class of ”相关问题
  • 第1题:

    The IP address 192.168.100.1 belongs to which class of IP address space?()

    A. Class A

    B. Class B

    C. Class C

    D. Class D


    参考答案:C

  • 第2题:

    Which statement is NOT true concerning the stowage of class 1 explosives ________.

    A.Class 1.1 explosives may be stowed with class 9 dangerous substances

    B.Class 1.4 explosives must be“separated from”a stow of class 5.1 oxidizing materials

    C.Class 1.4 explosives may not be stowed in the same hold with class 6.1 poisons

    D.Class 1.4 explosives must be“separated from”a stow of class 8 corrosive materials


    正确答案:C

  • 第3题:

    class A {  A() { }  }  class B extends A {  }  Which two statements are true?()

    • A、 Class B’s constructor is public.
    • B、 Class B’s constructor has no arguments.
    • C、 Class B’s constructor includes a call to this().
    • D、 Class B’s constructor includes a call to super().

    正确答案:B,D

  • 第4题:

    Which declaration prevents creating a subclass of an outer class?()

    • A、 Static class FooBar{}
    • B、 Private class FooBar{}
    • C、 Abstract public class FooBar{}
    • D、 Final public class FooBar{}
    • E、 Final abstract class FooBar{}

    正确答案:D

  • 第5题:

    Which thefollowingstatements about static inner classes is true?()

    • A、 An anonymous class can be declared as static.
    • B、 A static inner class cannot be a static member of the outer class.
    • C、 A static inner class does not require an instance of the enclosing class.
    • D、 Instance member of a static inner class can be referenced using the class name of the staticinner class.

    正确答案:C

  • 第6题:

    Which command will list ODM class descriptions to provide the format needed to create a new class?()

    • A、odmadd
    • B、odmget
    • C、odmshow
    • D、odmcreate

    正确答案:C

  • 第7题:

    Which of the following class networks contains 65,534 hosts?()

    • A、Class A
    • B、Class B
    • C、Class C
    • D、Class D

    正确答案:B

  • 第8题:

    Which Man class properly represents the relationship "Man has a best friend who is a Dog"?()

    • A、class Man extends Dog{}
    • B、class Man implements Dog{}
    • C、class Man{private BestFriend dog;}
    • D、class Man{private Dog bestFriend;}
    • E、class Man{private Dog;}
    • F、class Man{private BestFriend;}

    正确答案:D

  • 第9题:

    In the Java API documentation which sections are included in a class document?()    

    • A、 The description of the class and its purpose
    • B、 A list of methods in its super class
    • C、 A list of member variable
    • D、 The class hierarchy

    正确答案:A,C,D

  • 第10题:

    多选题
    In the Java API documentation which sections are included in a class document?()
    A

    The description of the class and its purpose

    B

    A list of methods in its super class

    C

    A list of member variable

    D

    The class hierarchy


    正确答案: D,A
    解析: 类文档的内容主要是:类层次、类及用途描述、成员变量列表、构造方法列表、成员方法列表、从类层次上继承的方法列表、成员变量的详细说明、构造方法详细说明、成员方法详细说明。

  • 第11题:

    单选题
    For which of the listed classes of fire combinations would carbon dioxide be most suitable as the extinguishing agent ().
    A

    Class A and class B

    B

    Class B and class C

    C

    Class A and class C

    D

    Class C, class D, and class E


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

  • 第12题:

    多选题
    Which two allow the class Thing to be instantiated using new Thing()?
    A

    public class Thing { }

    B

    public class Thing { public Thing() {} }

    C

    public class Thing { public Thing(void) {} }

    D

    public class Thing { public Thing(String s) {} }

    E

    public class Thing { public void Thing() {} public Thing(String s) {} }


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

  • 第13题:

    Which of the following is true about an IP address if the first bit is a zero?()

    A. The address is a Class A address.

    B. The address is a Class B address.

    C. The address is a Class C address.

    D. The address is a Class D address.


    参考答案:A

  • 第14题:

    Which of the following class networks represents a possibility of being further subnetted into 2 subnets of 128 hosts per subnet?()

    • A、Class A
    • B、Class B
    • C、Class C
    • D、Class D

    正确答案:C

  • 第15题:

    In which two cases does the compiler supply a default constructor for class A?()  

    • A、 class A{}
    • B、 class A { public A(){} }
    • C、 class A { public A(int x){} }
    • D、 class Z {} class A extends Z { void A(){} }

    正确答案:A,D

  • 第16题:

    Which statement about static inner classes is true?()

    • A、 An anonymous class can be declared as static.
    • B、 A static inner class cannot be a static member of the outer class.
    • C、 A static inner class does not require an instance of the enclosing class.
    • D、 Instance members of a static inner class can be referenced using the class name of the static inner class.

    正确答案:C

  • 第17题:

    Which of the following is true about an IP address if the first bit is a zero?()

    • A、The address is a Class A address.
    • B、The address is a Class B address.
    • C、The address is a Class C address.
    • D、The address is a Class D address.

    正确答案:A

  • 第18题:

    Which of the following class addresses is reserved for multicast?()

    • A、 Class A
    • B、 Class B
    • C、 Class C
    • D、 Class D

    正确答案:D

  • 第19题:

    The internet address 198.102.27.120 represents which of the following addresses?()

    • A、Class A
    • B、Class B
    • C、Class C
    • D、Class D

    正确答案:C

  • 第20题:

    Which methods from the String and StringBuffer classes modify the object on which they are called?()  

    • A、The charAt() method of the String class.
    • B、The toUpperCase() method of the String class.
    • C、The replace() method of the String class.
    • D、The reverse() method of the StringBuffer class.
    • E、The length() method of the StringBuffer class.

    正确答案:D

  • 第21题:

    You need to recommend a server build for the Web servers. Which server build should you recommend?()

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

    正确答案:A

  • 第22题:

    单选题
    Which declaration prevents creating a subclass of an outer class?()
    A

     Static class FooBar{}

    B

     Private class FooBar{}

    C

     Abstract public class FooBar{}

    D

     Final public class FooBar{}

    E

     Final abstract class FooBar{}


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

  • 第23题:

    单选题
    Which methods from the String and StringBuffer classes modify the object on which they are called?()
    A

    The charAt() method of the String class.

    B

    The toUpperCase() method of the String class.

    C

    The replace() method of the String class.

    D

    The reverse() method of the StringBuffer class.

    E

    The length() method of the StringBuffer class.


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