AS Quiz #10

Today’s quiz is about Events and OOP.

Number of Questions : 5
Difficulty : Easy
Topic : Events and OOP

Fill in the blank. addEventListener() is a method of the _________ class.





Which of the below best describes the arguments of the addEventListener() method.





IEventDispatcher is useful if you'd like to use __________ instead of inheritance.





True or False... There is no limit on the number of interfaces a class can implement.



Fill in the blank. Event constants are always of type _______.







This entry was posted in Quiz and tagged , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

3 Comments

  1. Posted January 22, 2010 at 11:50 am | Permalink

    True or False… There is no limit on the number of interfaces a class can implement.

    Really? Infinity?

    Fill in the blank. Event constants are always of type _______.

    A “const” can be of any type, including *. So not even Object is the right answer.

  2. Posted January 22, 2010 at 11:56 am | Permalink

    >There is no limit on the number of interfaces a class can implement.
    there is not a set number

    >Fill in the blank. Event constants are always of type
    the question is not about const… but Event constants … implying that they are to be used with the first argument of addEventListener… with the first argument of the Event constructor etc… therefore Object is not a valid answer

  3. Rishabh Govindraj
    Posted January 22, 2010 at 7:20 pm | Permalink

    “You scored 5 out of 5. (100.00 %)”
    really easy

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*