nerdexam
Adobe

9A0-182 · Question #84

9A0-182 Question #84: Real Exam Question with Answer & Explanation

The correct answer is A. <comps:MyComp /> C. var comp:comps.MyComp = new comps.MyComp();. See the full explanation below for the reasoning.

Question

You have a created a custom component called MyComp in a package assigned to the comps namespace. Which two statements could be used to create an instance of MyComp? (Choose two.)

Options

  • A<comps:MyComp />
  • B<comps>MyComp</comps>
  • Cvar comp:comps.MyComp = new comps.MyComp();
  • Dvar comp:MyComp = new DisplayObject("comps.MyComp");
  • Evar comp:MyComp = createClass("comps.MyComp");

Community Discussion

No community discussion yet for this question.

Full 9A0-182 Practice