When an object receives a( ), methods contained within the object respond.A.parameterB.informationC.messageD.data

题目

When an object receives a( ), methods contained within the object respond.

A.parameterB.informationC.messageD.data


相似考题
参考答案和解析
正确答案:C
更多“When an object receives a( ), methods contained within the object respond. A.parameterB ”相关问题
  • 第1题:

    A management domain typically contains a large amount of management information. Each individual item of(71) information is an instance of a managed object type. The definition of a related set of managed (72)types is contained in a Management Information Base (MIB)module. Many such MIB modules are defined. For each managed object type it describes, a MIB (73) defines not only the semantics and syntax of that managed object type, but also the method of identifying an individual instance so that multiple () of the same managed object type can be distinguished. Typically, there are many instances of each managed object (75) within a management domain

    A.packets
    B.searches
    C.states
    D.instances

    答案:D
    解析:

  • 第2题:

    A management domain typically contains a large amount of management information. Each individual item of(71) information is an instance of a managed object type. The definition of a related set of managed ()types is contained in a Management Information Base (MIB)module. Many such MIB modules are defined. For each managed object type it describes, a MIB (73) defines not only the semantics and syntax of that managed object type, but also the method of identifying an individual instance so that multiple (74) of the same managed object type can be distinguished. Typically, there are many instances of each managed object (75) within a management domain

    A.path
    B.object
    C.route
    D.packet

    答案:B
    解析:

  • 第3题:

    Which two statements are true about the hashCode method?()

    • A、 The hashCode method for a given class can be used to test for object equality and object inequality for that class.
    • B、 The hashCode method is used by the java.util.SortedSet collection class to order theelements within that set.
    • C、 The hashCode method for a given class can be used to test for object inequality, but NOT object equality, for that class.
    • D、 The only important characteristic of the values returned by a hashCode method is that the distribution of values must follow a Gaussian distribution.
    • E、 The hashCode method is used by the java.util.HashSet collection class to group the elements within that set into hash buckets for swift retrieval.

    正确答案:C,E

  • 第4题:

    12. void start() {  13. A a = new A();  14. B b = new B();  15. a.s(b);  16. b = null;  17. a = null;  18. System.out.println(“start completed”); 19. }  When is the B object, created in line 14, eligible for garbage collection?()  

    • A、 After line 16.
    • B、 After line 17.
    • C、 After line 18 (when the methods ends).
    • D、 There is no way to be absolutely certain.
    • E、 The object is NOT eligible for garbage collection.

    正确答案:D

  • 第5题:

    What happens when thread X executes a wait() method on object A, without owning object A’s lock?()  

    • A、 Compilation fails.
    • B、 An exception is thrown.
    • C、 The wait() method has no effect.
    • D、 Thread X receives the lock immediately.
    • E、 Object A moves the thread to the wait pool.

    正确答案:B

  • 第6题:

    Which two scenarios are NOT safe to replace a StringBuffer object with a StringBuilder object?()

    • A、When using versions of Java technology earlier than 5.0.
    • B、When sharing a StringBuffer among multiple threads.
    • C、When using the java.io class StringBufferInputStream.
    • D、When you plan to reuse the StringBuffer to build more than one string.

    正确答案:A,B

  • 第7题:

    When is an implicit anchor created?()

    • A、When an object is enclosed by another object. 
    • B、When a page break after pagination property is enabled. 
    • C、When a link is created between two objects. 
    • D、When a keep with anchoring object pagination property is enabled.

    正确答案:A

  • 第8题:

    单选题
    When is an implicit anchor created?()
    A

    When an object is enclosed by another object. 

    B

    When a page break after pagination property is enabled. 

    C

    When a link is created between two objects. 

    D

    When a keep with anchoring object pagination property is enabled.


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

  • 第9题:

    单选题
    Servlet A receives a request that it forwards to servlet B within another web application in the same webcontainer. Servlet A needs to share data with servlet B and that data must not be visible to other servlets inA’s web application. In which object can the data that A shares with B be stored?()
    A

    HttpSession

    B

    ServletConfig

    C

    ServletContext

    D

    HttpServletRequest

    E

    HttpServletResponse


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

  • 第10题:

    单选题
    What happens when thread X executes a wait() method on object A, without owning object A’s lock?()
    A

     Compilation fails.

    B

     An exception is thrown.

    C

     The wait() method has no effect.

    D

     Thread X receives the lock immediately.

    E

     Object A moves the thread to the wait pool.


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

  • 第11题:

    单选题
    The metal,teardrop-shaped object sometimes used within an eyesplice is a().
    A

    grommet

    B

    reinforcement

    C

    splice form

    D

    thimble


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

  • 第12题:

    多选题
    Which two statements are true about the hashCode method?()
    A

    The hashCode method for a given class can be used to test for object equality and object inequality for that class.

    B

    The hashCode method is used by the java.util.SortedSet collection class to order theelements within that set.

    C

    The hashCode method for a given class can be used to test for object inequality, but NOT object equality, for that class.

    D

    The only important characteristic of the values returned by a hashCode method is that the distribution of values must follow a Gaussian distribution.

    E

    The hashCode method is used by the java.util.HashSet collection class to group the elements within that set into hash buckets for swift retrieval.


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

  • 第13题:

    A management domain typically contains a large amount of management information. Each individual item of() information is an instance of a managed object type. The definition of a related set of managed (72)types is contained in a Management Information Base (MIB)module. Many such MIB modules are defined. For each managed object type it describes, a MIB (73) defines not only the semantics and syntax of that managed object type, but also the method of identifying an individual instance so that multiple (74) of the same managed object type can be distinguished. Typically, there are many instances of each managed object (75) within a management domain

    A.rotation
    B.switch
    C.management
    D.transmission

    答案:C
    解析:

  • 第14题:

    public class X {  public object m () {   object o = new float (3.14F);   object oa = new object [1];   oa[0]= o;   o = null;   return oa[0];   }   }   When is the float object created in line 3, eligible for garbage collection?()

    • A、 Just after line 5
    • B、 Just after line 6
    • C、 Just after line 7 (that is, as the method returns)
    • D、 Never in this method.

    正确答案:D

  • 第15题:

    Which two of statements are true?()

    • A、It is possible to synchronize static methods.
    • B、When a thread has yielded as a result of yield(), it releases its locks.
    • C、When a thread is sleeping as a result of sleep(), it releases its locks.
    • D、The Object.wait() method can be invoked only from a synchronized context.
    • E、The Thread.sleep() method can be invoked only from a synchronized context.
    • F、When the thread scheduler receives a notify() request, and notifies a thread, that thread immediately releases its lock.

    正确答案:A,D

  • 第16题:

    Which statements concerning the methods notify() and notifyAll() are true?  

    • A、Instances of class Thread have a method called notify().
    • B、A call to the method notify() will wake the thread that currently owns the monitor of the object.
    • C、The method notify() is synchronized.
    • D、The method notifyAll() is defined in class Thread.
    • E、When there is more than one thread waiting to obtain the monitor of an object, there is no way to be     sure which thread will be notified by the notify() method.

    正确答案:A,E

  • 第17题:

    Which object is added to a form module when you copy the reusable calender class?()

    • A、List icon 
    • B、Object group 
    • C、PL/SQL library 
    • D、Key-Listval trigger 

    正确答案:B

  • 第18题:

    Which two PL/SQL8 features are supported in Oracle Forms?()

    • A、methods 
    • B、object tables 
    • C、object columns 
    • D、collection types 
    • E、object as stored procedure parameters

    正确答案:B,C

  • 第19题:

    You are developing an ASP.NET Web application. The application must pass an object that contains user-specific data between multiple pages. The object ismore than 100 KB in size when serialized.You need to minimize the amount of data is sent to the user. What should you do?()

    • A、Pass the object data in a hidden field.
    • B、Store the object instance in a session variable.
    • C、Use a cookie that contains the object data.
    • D、Encode the object data and pass it in a query string parameter.

    正确答案:B

  • 第20题:

    单选题
    public class X {   public object m () {   object o = new float (3.14F);   object oa = new object [1];   oa[0]= o;   o = null;   oa[0] = null;   return o;   }   }   When is the float object created in line 3, eligible for garbage collection?()
    A

     Just after line 5.

    B

     Just after line 6.

    C

     Just after line 7.

    D

     Just after line 8(that is, as the method returns).


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

  • 第21题:

    单选题
    public class X {  public object m () {   object o = new float (3.14F);   object oa = new object [1];   oa[0]= o;   o = null;   return oa[0];   }   }   When is the float object created in line 3, eligible for garbage collection?()
    A

     Just after line 5

    B

     Just after line 6

    C

     Just after line 7 (that is, as the method returns)

    D

     Never in this method.


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

  • 第22题:

    单选题
    Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A’s web application.  In which object can the data that A shares with B be stored?()
    A

     HttpSession

    B

     ServletConfig

    C

     ServletContext

    D

     HttpServletRequest

    E

     HttpServletResponse


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

  • 第23题:

    单选题
    12. void start() {  13. A a = new A();  14. B b = new B();  15. a.s(b);  16. b = null;  17. a = null;  18. System.out.println(“start completed”); 19. }  When is the B object, created in line 14, eligible for garbage collection?()
    A

     After line 16.

    B

     After line 17.

    C

     After line 18 (when the methods ends).

    D

     There is no way to be absolutely certain.

    E

     The object is NOT eligible for garbage collection.


    正确答案: C
    解析: The correct answer to this question is D. The member method s is not defined so there is no way to be certain of the result.