1. Question: The addEventListener() method of the EventDispatcher class is used to:

    A
    create a new Event

    B
    delete an event

    C
    add/register a new listener for an event

    D
    deregister an event listener

    Note: Not available
    1. Report
  2. Question: The trim() method of StringUtil Class is used:

    A
    only to remove all white spaces from the beginning of the string.

    B
    only to remove all white spaces from the end of the string.

    C
    to remove all white spaces from the beginning and the end of the string.

    D
    to remove all whitespaces in the string including those inside the string.

    Note: Not available
    1. Report
  3. Question: Which of the following is not a security-sandbox type?

    A
    Local-trusted

    B
    Local-with-networking

    C
    Remote

    D
    Remote-with-networking

    Note: Not available
    1. Report
  4. Question: If no Access modifier is specified for a property in a class, then by default, the property is:

    A
    Public

    B
    Private

    C
    Protected

    D
    Internal

    Note: Not available
    1. Report
  5. Question: What is the length of the given array? var myArray1 : Array = new Array ("One", "Two", "Three");

    A
    0

    B
    1

    C
    2

    D
    3

    Note: Not available
    1. Report
  6. Question: Suppose we have an arrayCollection whose cursor (myCursor) has been created using the arraycollection's getCursor() method. At runtime, when myCursor.afterLast returns true, what is the value of myCursor.current?

    A
    Null

    B
    A reference to the last item in the array collection

    C
    A reference to the first item in the array collection

    D
    A reference to any random item in the array collection

    Note: Not available
    1. Report
  7. Question: Given a number, num = 23, which of the following methods will be used to convert it to a String:

    A
    num.toString();

    B
    num.toSentence();

    C
    num.toWord();

    D
    num.toNumber();

    Note: Not available
    1. Report
  8. Question: Which of the following is not a valid quantifier metacharacter used in Regular expressions?

    A
    +

    B

    C
    *

    D
    ?

    Note: Not available
    1. Report
  9. Question: The compiled output of an Action script file is:

    A
    '.class' file

    B
    '.swf' file

    C
    '.as' file

    D
    '.mxml' file

    Note: Not available
    1. Report
  10. Question: Given the following code snippet, what will be the output when helloWorld() is run? public function helloWorld() : void { trace("Line 1" ); var num : Number=25; try{ num=num/0; trace ("Value of num in try: "+num.toString()); }catch (err : IOError) { trace("Value of num in catch: "+num.toString()); }finally{ num=0; } trace("Value of num: "+num.toString()); }

    A
    Line1 Value of num in try: 25 Value of num in catch: 25 Value of num: 0

    B
    Line1 Value of num in catch: 25 Value of num: 0

    C
    Line1 Value of num in try: 25 Value of num in catch: 25

    D
    Line 1 Value of num in try: Infinity Value of num: 0

    Note: Not available
    1. Report
Copyright © 2025. Powered by Intellect Software Ltd