1. Question: Which of the following statement is not correct?

    A
    While accessing child nodes of an XMLList, the array access operator '[]' can be used and the starting Index is 0.

    B
    While accessing child nodes of an XMLList, the array access operator '[]' can be used but the starting Index in this case is 1.

    C
    While fetching children of an XMLList, the children() method of the XML class can be used interchangeably with the '*' operator.

    D
    All of the above statements are correct.

    Note: Not available
    1. Report
  2. Question: Which of the following Errors does not occur at runtime?

    A
    Compile time error

    B
    Runtime-error

    C
    Synchronous error

    D
    Asynchronous error

    Note: Not available
    1. Report
  3. Question: The useWeakReference parameter in the addEventListener method is used to:

    A
    make the listener eligible for garbage collection

    B
    make the Component for which the event is registered eligible for garbage collection.

    C
    make the parent of the Component for which the event is registered eligible for garbage collection.

    D
    All of these

    Note: Not available
    1. Report
  4. Question: Given the following statements about the try/catch/finally block, choose the correct option.

    A
    Try is optional but catch and finally are required.

    B
    Catch is optional but try and finally are required.

    C
    Finally is optional but try and catch are required.

    D
    All three blocks are required.

    Note: Not available
    1. Report
  5. Question: What will be the output of the following code snippet? var myArray1 : Array = new Array("One", "Two", "Three"); var myArray2 : Array = myArray1; myArray2[1] = "Four"; trace(myArray1);

    A
    One,Two,Three

    B
    Four,Two,Three

    C
    One,Four,Three

    D
    Two,Three,Four

    Note: Not available
    1. Report
  6. Question: Based on the above mentioned declaration of myXML, how can we access the id attribute of the 'employee' tag?

    A
    myXML.managers.employee[1].@id

    B
    myXML.employeeList.managers.employee[1].@id

    C
    myXML.managers.employee[1].id

    D
    myXML.employeeList.managers.employee[1].id

    Note: Not available
    1. Report
  7. Question: Which of the following methods of the String class does not accept a regular expression as its parameter?

    A
    search()

    B
    substring()

    C
    replace()

    D
    match()

    Note: Not available
    1. Report
  8. Question: Given the following code snippet: public function helloWorld(value:int) : String { switch(value){ case 1: return "One"; break; case 2: return "Two"; break; case 3: return "Three"; break; default: return "No Match"; } } What will be returned if we pass call the above function as helloWorld(2):

    A
    One

    B
    Two

    C
    Three

    D
    No match

    Note: Not available
    1. Report
  9. Question: A constant (const) variable can be initiated only once.

    A
    True

    B
    False

    Note: Not available
    1. Report
  10. Question: Which of the following classes is not used to interact with the client system environment?

    A
    Application Class

    B
    ApplicationDomain Class

    C
    System Class

    D
    Capabilities Class

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