网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

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

参考答案

更多 “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” 相关考题
考题 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.

考题 What must be the same to make multiple switches part of the same Multiple Spanning Tree (MST)?()A、VLAN instance mapping and revision numberB、VLAN instance mapping and member listC、VLAN instance mapping, revision number, and member listD、VLAN instance mapping, revision number, member list, and timers

考题 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.

考题 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()”.

考题 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.

考题 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()”

考题 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.

考题 How do objects pass messages in Java?()   A、They pass messages by modifying each other’s member variablesB、They pass messages by modifying the static member variables of each other’s classesC、They pass messages by calling each other’s instance member methodsD、They pass messages by calling static member methods of each other’s classes.

考题 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.

考题 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.

考题 import java.io.*;  public class Forest implements Serializable {  private Tree tree = new Tree();  public static void main(String [] args) {  Forest f= new Forest();  try {  FileOutputStream fs = new FileOutputStream(”Forest.ser”);  ObjectOutputStream os = new ObjectOutputStream(fs);  os.writeObject(f); os.close();  } catch (Exception ex) { ex.printStackTrace(); }  }  }  class Tree { }  What is the result?() A、 Compilation fails.B、 An exception is thrown at runtime.C、 An instance of Forest is serialized.D、 A instance of Forest and an instance of Tree are both serialized.

考题 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.

考题 You work as a database administrator for Supportcenter.cn. 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

考题 In which situation would you use static database registration for a listener()A、when multiple databases are to be registered with the listenerB、when DBAs need to connect remotely to start up the database instanceC、when users need to connect the database instance using the host naming methodD、when the database instance that is to be registered with the listener is configured in shared server mode

考题 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.

考题 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.

考题 单选题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()”.

考题 单选题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

考题 单选题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.

考题 多选题Which statements concerning the correlation between the inner and outer instances of non-static inner classes are true?()AMember variables of the outer instance are always accessible to inner instances, regardless of their accessibility modifiers.BMember variables of the outer instance can never be referred to using only the variable name within  the inner instance.CMore than one inner instance can be associated with the same outer instance.DAll variables from the outer instance that should be accessible in the inner instance must be declared  final.EA class that is declared final cannot have any inner classes.

考题 单选题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

考题 单选题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.

考题 多选题Which statements about static inner classes are true?()AA static inner class requires a static initializer.BA static inner class requires an instance of the enclosing class.CA static inner class has no reference to an instance of the enclosing class.DA static inner class has access to the non-static members of the outer class.EStatic members of a static inner class can be referenced using the class name of the static inner  class.

考题 单选题How do objects pass messages in Java?()A They pass messages by modifying each other’s member variablesB They pass messages by modifying the static member variables of each other’s classesC They pass messages by calling each other’s instance member methodsD They pass messages by calling static member methods of each other’s classes.

考题 多选题Which two statements are true regarding the creation of a default constructor?()AThe default constructor initializes method variables.BThe compiler always creates a default constructor for every class.CThe default constructor invokes the no-parameter constructor of the superclass.DThe default constructor initializes the instance variables declared in the class.EWhen a class has only constructors with parameters, the compiler does not create a default constructor.

考题 单选题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.

考题 多选题Which operation requires that you create an auxiliary instance manually before executing the operation?()ABackup-based database duplication.BActive database duplication.CTablespace point-in-time recovery.DNo operation requires the creation of an auxiliary instance.