单选题An instance member()A is also called a static memberB is always a variableC is never a methodD belongs to a single instance, not to the class as a wholeE always represents an operation

题目
单选题
An instance member()
A

is also called a static member

B

is always a variable

C

is never a method

D

belongs to a single instance, not to the class as a whole

E

always represents an operation


相似考题
参考答案和解析
正确答案: A
解析: 暂无解析
更多“单选题An instance member()A is also called a static memberB is always a variableC is never a methodD belongs to a single instance, not to the class as a wholeE always represents an operation”相关问题
  • 第1题:

    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

  • 第2题:

    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

  • 第3题:

    Which statements about static inner classes are true?()

    • A、 A static inner class requires a static initializer.
    • B、 A static inner class requires an instance of the enclosing class.
    • C、 A static inner class has no reference to an instance of the enclosing class.
    • D、 A static inner class has access to the non-static members of the outer class.
    • E、 Static members of a static inner class can be referenced using the class name of the static inner  class.

    正确答案:C,E

  • 第4题:

    An instance member() 

    • A、is also called a static member
    • B、is always a variable
    • C、is never a method
    • D、belongs to a single instance, not to the class as a whole
    • E、always represents an operation

    正确答案:D

  • 第5题:

    You create an application. The application processes hundreds of XML documents per minute. The XML documents are validated against inline schemas.You need to load XML documents from the file system and read them as quickly as possible. XML comments must be ignored while reading the XML documents. What should you do?()

    • A、Create an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.
    • B、Create an instance of the XmlReader class with an instance of the XmlTextReader class.
    • C、Create an instance of the XmlDocument class and specify a location for the application schema.
    • D、Create an instance of the XmlReader class with an instance of the XmlNodeReader class.

    正确答案:A

  • 第6题:

    单选题
    package foo;  public class Outer {  public static class Inner {  }  }   Which statement is true?()
    A

     Compilation fails.

    B

     An instance of the Inner class can be constructed with “new Outer.Inner()”.

    C

     An instance of the Inner class cannot be constructed outside of package foo.

    D

     An instance of the Inner class can be constructed only from within the Outer class.

    E

     From within the package foo, and instance of the Inner class can be constructed with “new Inner()”.


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

  • 第7题:

    单选题
    Which statement is true?()
    A

     An anonymous inner class may be declared as final.

    B

     An anonymous inner class can be declared as private.

    C

     An anonymous inner class can implement multiple interfaces.

    D

     An anonymous inner class can access final variables in any enclosing scope.

    E

     Construction of an instance of a static inner class requires an instance of the enclosing outer class.


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

  • 第8题:

    单选题
    What must be the same to make multiple switches part of the same Multiple Spanning Tree (MST)?()
    A

    VLAN instance mapping and revision number

    B

    VLAN instance mapping and member list

    C

    VLAN instance mapping, revision number, and member list

    D

    VLAN instance mapping, revision number, member list, and timers


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

  • 第9题:

    单选题
    You are deploying a Junos Pulse Access Control Service cluster in active/passive mode. How do you configure the IP address on the SRX Series devices?()
    A

    Configure a single Junos Pulse Access Control Service instance on the enforcer, specifying the VIP as the IP address the instance.

    B

    Configure multiple Junos Pulse Access Control Service instances on the enforcer, specifying the specific IP address each device in a separate instance.

    C

    Configure a single Junos Pulse Access Control Service instance on the enforcer, specifying the VIP and active node address in the instance.

    D

    Configure a single Junos Pulse Access Control Service instance on the enforcer, specifying the VIP and passive node address in the instance.


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

  • 第10题:

    多选题
    Which statements about static inner classes are true?()
    A

    A static inner class requires a static initializer.

    B

    A static inner class requires an instance of the enclosing class.

    C

    A static inner class has no reference to an instance of the enclosing class.

    D

    A static inner class has access to the non-static members of the outer class.

    E

    Static members of a static inner class can be referenced using the class name of the static inner  class.


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

  • 第11题:

    单选题
    You create an application. The application processes hundreds of XML documents per minute. The XML documents are validated against inline schemas.You need to load XML documents from the file system and read them as quickly as possible. XML comments must be ignored while reading the XML documents. What should you do?()
    A

    Create an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.

    B

    Create an instance of the XmlReader class with an instance of the XmlTextReader class.

    C

    Create an instance of the XmlDocument class and specify a location for the application schema.

    D

    Create an instance of the XmlReader class with an instance of the XmlNodeReader class.


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

  • 第12题:

    多选题
    Which two statements are true regarding the creation of a default constructor?()
    A

    The default constructor initializes method variables.

    B

    The compiler always creates a default constructor for every class.

    C

    The default constructor invokes the no-parameter constructor of the superclass.

    D

    The default constructor initializes the instance variables declared in the class.

    E

    When a class has only constructors with parameters, the compiler does not create a default constructor.


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

  • 第13题:

    package foo; public class Outer (  public static class Inner (  )  )   Which statement is true? () 

    • A、 An instance of the Inner class can be constructed with “new Outer.Inner ()”
    • B、 An instance of the inner class cannot be constructed outside of package foo.
    • C、 An instance of the inner class can only be constructed from within the outer class.
    • D、 From within the package bar, an instance of the inner class can be constructed with “new inner()”

    正确答案:A

  • 第14题:

    How do objects pass messages in Java?()   

    • A、They pass messages by modifying each other’s member variables
    • B、They pass messages by modifying the static member variables of each other’s classes
    • C、They pass messages by calling each other’s instance member methods
    • D、They pass messages by calling static member methods of each other’s classes.

    正确答案:C

  • 第15题:

    Which statement is true?()

    • A、 An anonymous inner class may be declared as final.
    • B、 An anonymous inner class can be declared as private.
    • C、 An anonymous inner class can implement multiple interfaces.
    • D、 An anonymous inner class can access final variables in any enclosing scope.
    • E、 Construction of an instance of a static inner class requires an instance of the enclosing outer class.

    正确答案:D

  • 第16题:

    In which situation would you use static database registration for a listener()

    • A、when multiple databases are to be registered with the listener
    • B、when DBAs need to connect remotely to start up the database instance
    • C、when users need to connect the database instance using the host naming method
    • D、when the database instance that is to be registered with the listener is configured in shared server mode

    正确答案:B

  • 第17题:

    Which of the following statements about variables and their scopes are true? ()   

    • A、 Instance variables are member variables of a class.
    • B、 Instance variables are declared with the static keyword.
    • C、 Local variables defined inside a method are created when the method is executed.
    • D、 Local variables must be initialized before they are used.

    正确答案:A,C,D

  • 第18题:

    单选题
    You work as a database administrator for Certkiller .com. Your database is functional. One of the disks containing a mirrored redo log member has bad sectors in it. You are unable to fix the damaged file.  How does the loss of a redo log member affect the instance of the database that is currently running?()
    A

    The instance would normally abort.

    B

    The instance would not be affected.

    C

    The instance would be invalid, so would have to be aborted.

    D

    The instance would remain open, but the LGWR process would fail.

    E

    The instance would remain open and would automatically create the missing file


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

  • 第19题:

    多选题
    Which statements concerning the correlation between the inner and outer instances of non-static inner classes are true?()
    A

    Member variables of the outer instance are always accessible to inner instances, regardless of their      accessibility modifiers.

    B

    Member variables of the outer instance can never be referred to using only the variable name within     the inner instance.

    C

    More than one inner instance can be associated with the same outer instance.

    D

    All variables from the outer instance that should be accessible in the inner instance must be declared     final.

    E

    A class that is declared final cannot have any inner classes.


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

  • 第20题:

    单选题
    An instance member()
    A

    is also called a static member

    B

    is always a variable

    C

    is never a method

    D

    belongs to a single instance, not to the class as a whole

    E

    always represents an operation


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

  • 第21题:

    单选题
    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
    解析: 暂无解析

  • 第22题:

    单选题
    package foo; public class Outer (  public static class Inner (  )  )   Which statement is true? ()
    A

     An instance of the Inner class can be constructed with “new Outer.Inner ()”

    B

     An instance of the inner class cannot be constructed outside of package foo.

    C

     An instance of the inner class can only be constructed from within the outer class.

    D

     From within the package bar, an instance of the inner class can be constructed with “new inner()”


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

  • 第23题:

    单选题
    How do objects pass messages in Java?()
    A

    They pass messages by modifying each other’s member variables

    B

    They pass messages by modifying the static member variables of each other’s classes

    C

    They pass messages by calling each other’s instance member methods

    D

    They pass messages by calling static member methods of each other’s classes.


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

  • 第24题:

    单选题
    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
    解析: 暂无解析