JavaBean Events   «Prev 

Javabeans Event Communications - Quiz

 
1. Mouse drags and key presses are examples of:
  A. Semantic events.
  B. Abstract events.
  C. Low-level events.

2. A component capable of generating events is known as:
  A. An event listener.
  B. An event source.
  C. An event adapter.

3. To receive event notifications from an event source, an object must:
  A. Register itself as an event listener by calling an event registration method on the event source.
  B. Implement the handleEvent() method.
  C. Constantly query the event source to see if any events have occurred.

4. If you try to register more than one event listener with a unicast event source, the event source will:
  A. Allow the registration and issue a warning.
  B. Disallow the registration and throw an exception.
  C. Allow the registration and throw an exception.


5. Which type of event delivery is more desirable in terms of Bean design?
  A. Asynchronous event delivery.
  B. Multicast event delivery.
  C. Unicast event delivery.


6. Unicast Beans allow only one:
  A. Event listener to be registered at any given time.
  B. Event to be broadcast at a time.
  C. Event listener interface to be used.

Your score is 0.0