Which statements concerning the event model of the AWT are true?()  A、At most one listener of each type can be registered with a component.B、Mouse motion listeners can be registered on a List instance.C、There exists a class named ContainerEvent in package

题目

Which statements concerning the event model of the AWT are true?()  

  • A、At most one listener of each type can be registered with a component.
  • B、Mouse motion listeners can be registered on a List instance.
  • C、There exists a class named ContainerEvent in package java.awt.event.
  • D、There exists a class named MouseMotionEvent in package java.awt.event.
  • E、There exists a class named ActionAdapter in package java.awt.event.

相似考题
更多“Which statements concerning the event model of the AWT are true?()  A、At most one listener of each type can be registered with a component.B、Mouse motion listeners can be registered on a List instance.C、There exists a class named ContainerEvent in package”相关问题
  • 第1题:

    Which two statements are true?()

    • A、 An inner class may be declared as static.
    • B、 An anonymous inner class can be declared as public.
    • C、 An anonymous inner class can be declared as private.
    • D、 An anonymous inner class can extend an abstract class.
    • E、 An anonymous inner class can be declared as protected.

    正确答案:A,D

  • 第2题:

    以下()有关事件监听器的语句是正确的。

    • A、Multiple listeners can be attached to one component
    • B、Only one listener can be attached to one component
    • C、One listener can receive and process the events from multiple components
    • D、One listener can receive and process the events from only one component

    正确答案:A,C

  • 第3题:

    For which three events can web application event listeners be registered?()

    • A、When a session is created
    • B、After a servlet is destroyed
    • C、When a session has timed out
    • D、When a cookie has been created
    • E、When a servlet has forwarded a request
    • F、When a session attribute value is changed

    正确答案:A,C,F

  • 第4题:

    Which two statements are true regarding the WebLogic domain?()

    • A、A WebLogic domain can have more than one Administration server.
    • B、A WebLogic domain has at least one WebLogic server.
    • C、A WebLogic domain can have at the most one cluster.  
    • D、A WebLogic domain can cross multiple physical machines.  
    • E、Each WebLogic domain is associated with a different Node Manager.

    正确答案:B,D

  • 第5题:

    Which two statements are true about a job chain? ()(Choose two.)

    • A、A job chain can contain a nested chain of jobs.
    • B、The jobs in a job chain cannot have more than one dependency.
    • C、A job of the CHAIN type can be run using event-based or time-based schedules.
    • D、The jobs in a job chain can be executed only by using the events generated by the Scheduler

    正确答案:A,C

  • 第6题:

    Which two statements are true about a job chain?()

    • A、 A job chain can contain a nested chain of jobs
    • B、 The jobs in a job chain cannot have more than one dependency
    • C、 A job of the CHAIN type can be run using event-based or time-based schedules
    • D、 The jobs in a job chain can be executed only by using the events generated by the Scheduler

    正确答案:A,C

  • 第7题:

    Which two statements are true regarding listeners()

    • A、Listeners use only the TCP/IP protocol.
    • B、Multiple listener processes can run simultaneously on a host.
    • C、Multiple database instances can be registered with a single listener.
    • D、The listener-related errors can be traced only at the administrative level.
    • E、Only one database instance can be registered with a single listener at any time.

    正确答案:B,C

  • 第8题:

    多选题
    Which two statements are true about a job chain?()
    A

    A job chain can contain a nested chain of jobs

    B

    The jobs in a job chain cannot have more than one dependency

    C

    A job of the CHAIN type can be run using event-based or time-based schedules

    D

    The jobs in a job chain can be executed only by using the events generated by the Scheduler


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

  • 第9题:

    多选题
    Which  statements are true regarding listeners()
    A

    Listeners use only the TCP/IP protocol.

    B

    Multiple listener processes can run simultaneously on a host.

    C

    Multiple database instances can be registered with a single listener.

    D

    The listener-related errors can be traced only at the administrative level.

    E

    Only one database instance can be registered with a single listener at any time


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

  • 第10题:

    多选题
    For which three events can web application event listeners be registered? ()
    A

    when a session is created

    B

    after a servlet is destroyed

    C

    when a session has timed out

    D

    when a cookie has been created

    E

    when a servlet has forwarded a request

    F

    when a session attribute value is changed


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

  • 第11题:

    多选题
    Which two statements are true regarding listeners()
    A

    Listeners use only the TCP/IP protocol.

    B

    Multiple listener processes can run simultaneously on a host.

    C

    Multiple database instances can be registered with a single listener.

    D

    The listener-related errors can be traced only at the administrative level.

    E

    Only one database instance can be registered with a single listener at any time.


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

  • 第12题:

    单选题
    Which statements concerning the switch construct are true?()
    A

    All switch statements must have a default label.

    B

    There must be exactly one label for each code segment in a switch statement.

    C

    The keyword continue can never occur within the body of a switch statement.

    D

    No case label may follow a default label within a single switch statement.

    E

    A character literal can be used as a value for a case label.


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

  • 第13题:

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

    正确答案:B

  • 第14题:

    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

  • 第15题:

    Which  statements are true regarding listeners()

    • A、Listeners use only the TCP/IP protocol.
    • B、Multiple listener processes can run simultaneously on a host.
    • C、Multiple database instances can be registered with a single listener.
    • D、The listener-related errors can be traced only at the administrative level.
    • E、Only one database instance can be registered with a single listener at any time

    正确答案:B,C

  • 第16题:

    Which two statements are true about a job chain?()

    • A、A job chain can contain a nested chain of jobs.
    • B、The jobs in a job chain cannot have more than one dependency.
    • C、A job of the CHAIN type can be run using event-based or time-based schedules.
    • D、The jobs in a job chain can be executed only by using the events generated by the Scheduler

    正确答案:A,C

  • 第17题:

    Which three statements are true regarding single-row functions?()

    • A、 They can accept only one argument.
    • B、 They can be nested up to only two levels.
    • C、 They can return multiple values of more than one data type.
    • D、 They can be used in SELECT, WHERE, and ORDER BY clauses.  
    • E、 They can modify the data type of the argument that is referenced.
    • F、 They can accept a column name, expression, variable name, or a user-supplied constant as arguments.

    正确答案:D,E,F

  • 第18题:

    Which statement is true about mouse events? ()

    • A、The cursor style can be set to CAUTION. 
    • B、Double-clicking a mouse button can potentially fire six mouse event triggers. 
    • C、The values for the SYSTEM.MOUSE_BUTTON_PRESSED system variable can only be 1 or 2. 
    • D、Click and double-click button actions can only detect if the mouse is positioned in an item.

    正确答案:B

  • 第19题:

    单选题
    Which statement is true about mouse events? ()
    A

    The cursor style can be set to CAUTION. 

    B

    Double-clicking a mouse button can potentially fire six mouse event triggers. 

    C

    The values for the SYSTEM.MOUSE_BUTTON_PRESSED system variable can only be 1 or 2. 

    D

    Click and double-click button actions can only detect if the mouse is positioned in an item.


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

  • 第20题:

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

  • 第21题:

    多选题
    Which statements concerning the event model of the AWT are true?()
    A

    At most one listener of each type can be registered with a component.

    B

    Mouse motion listeners can be registered on a List instance.

    C

    There exists a class named ContainerEvent in package java.awt.event.

    D

    There exists a class named MouseMotionEvent in package java.awt.event.

    E

    There exists a class named ActionAdapter in package java.awt.event.


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

  • 第22题:

    多选题
    以下()有关事件监听器的语句是正确的。
    A

    Multiple listeners can be attached to one component

    B

    Only one listener can be attached to one component

    C

    One listener can receive and process the events from multiple components

    D

    One listener can receive and process the events from only one component


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

  • 第23题:

    单选题
    Which statements are true, given the code new FileOutputStream("data", true) for creating an object of class FileOutputStream?()
    A

    FileOutputStream has no constructors matching the given arguments.

    B

    An IOExeception will be thrown if a file named data already exists.

    C

    An IOExeception will be thrown if a file named data does not already exist.

    D

    If a file named data exists, its contents will be reset and overwritten.

    E

    If a file named data exists, output will be appended to its current contents.


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