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 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 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

Given:Which statement is true about the class of an object that can reference the variable base? () A.It can be any class.B.No class has access to base.C.The class must belong to the geometry package.D.The class must be a subclass of the class Hypotenuse.

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.

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.

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.

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

以下()有关事件监听器的语句是正确的。A、Multiple listeners can be attached to one componentB、Only one listener can be attached to one componentC、One listener can receive and process the events from multiple componentsD、One listener can receive and process the events from only one component

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

For which three events can web application event listeners be registered?()A、When a session is createdB、After a servlet is destroyedC、When a session has timed outD、When a cookie has been createdE、When a servlet has forwarded a requestF、When a session attribute value is changed

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

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.

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

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

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.

Which two statements are true about a job chain?()A、 A job chain can contain a nested chain of jobsB、 The jobs in a job chain cannot have more than one dependencyC、 A job of the CHAIN type can be run using event-based or time-based schedulesD、 The jobs in a job chain can be executed only by using the events generated by the Scheduler

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.

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.

单选题Which statement is true about mouse events? ()AThe cursor style can be set to CAUTION. BDouble-clicking a mouse button can potentially fire six mouse event triggers. CThe values for the SYSTEM.MOUSE_BUTTON_PRESSED system variable can only be 1 or 2. DClick and double-click button actions can only detect if the mouse is positioned in an item.

多选题Which two statements are true about a job chain?()AA job chain can contain a nested chain of jobsBThe jobs in a job chain cannot have more than one dependencyCA job of the CHAIN type can be run using event-based or time-based schedulesDThe jobs in a job chain can be executed only by using the events generated by the Scheduler

单选题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  statements are true regarding listeners()AListeners use only the TCP/IP protocol.BMultiple listener processes can run simultaneously on a host.CMultiple database instances can be registered with a single listener.DThe listener-related errors can be traced only at the administrative level.EOnly one database instance can be registered with a single listener at any time

多选题Which statements concerning the event model of the AWT are true?()AAt most one listener of each type can be registered with a component.BMouse motion listeners can be registered on a List instance.CThere exists a class named ContainerEvent in package java.awt.event.DThere exists a class named MouseMotionEvent in package java.awt.event.EThere exists a class named ActionAdapter in package java.awt.event.

多选题For which three events can web application event listeners be registered? ()Awhen a session is createdBafter a servlet is destroyedCwhen a session has timed outDwhen a cookie has been createdEwhen a servlet has forwarded a requestFwhen a session attribute value is changed

多选题以下()有关事件监听器的语句是正确的。AMultiple listeners can be attached to one componentBOnly one listener can be attached to one componentCOne listener can receive and process the events from multiple componentsDOne listener can receive and process the events from only one component

多选题Which two statements are true regarding listeners()AListeners use only the TCP/IP protocol.BMultiple listener processes can run simultaneously on a host.CMultiple database instances can be registered with a single listener.DThe listener-related errors can be traced only at the administrative level.EOnly one database instance can be registered with a single listener at any time.

单选题Which statements are true, given the code new FileOutputStream("data", true) for creating an object of class FileOutputStream?()AFileOutputStream has no constructors matching the given arguments.BAn IOExeception will be thrown if a file named data already exists.CAn IOExeception will be thrown if a file named data does not already exist.DIf a file named data exists, its contents will be reset and overwritten.EIf a file named data exists, output will be appended to its current contents.

单选题Which statements concerning the switch construct are true?()AAll switch statements must have a default label.BThere must be exactly one label for each code segment in a switch statement.CThe keyword continue can never occur within the body of a switch statement.DNo case label may follow a default label within a single switch statement.EA character literal can be used as a value for a case label.