MCQs>IT & Programming>Actionscript 3>Valid way to create a Vector of type String? i. var v: Vector. = new ['str1', 'str2', 'str3']; ii. var v:Vector. = new Vector.(); iii. var v:Vector = new Vector(); iv. var v: Vector = ['str1', 'str2', 'str3'];
Actionscript 3 MCQs
Which of the following is a valid way to create a Vector of type String? i. var v: Vector. = new ["str1", "str2", "str3"]; ii. var v:Vector. = new Vector.(); iii. var v:Vector = new Vector(); iv. var v: Vector = ["str1", "str2", "str3"];
Answer
Correct Answer: i and ii
Explanation:
Note: This Question is unanswered, help us to find answer for this one