MCQs > IT & Programming > Actionscript 3 > What would happen when the following piece of code is compiled and run? var p : * = new ArrayCollection() //Line1 p.addItem('vishal'); //Line2 p.addItem(24); //Line3 p= new Date(); //Line4

Actionscript 3 MCQs

What would happen when the following piece of code is compiled and run?

var p : * = new ArrayCollection()      //Line1

p.addItem("vishal");                     //Line2

p.addItem(24);                        //Line3

p= new Date();                        //Line4

Answer

Correct Answer:

No error. The code will compile and run without errors. 

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Actionscript 3 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Actionscript 3 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it