nerdexam
Adobe

9A0-127 · Question #28

9A0-127 Question #28: Real Exam Question with Answer & Explanation

Sign in or unlock 9A0-127 to reveal the answer and full explanation for question #28. The question stem and answer options stay visible for context.

Question

You want to instantiate a component, then call two methods of that component and capture the return values in two variables, val1 and val2. Which two should you use to accomplish this? (Choose two.)

Options

  • A<cfinvoke component="myComponent" method="method1" returnvariable="val1">
  • B<cfset myObj = createObject("component", "myComponent").method1().method2()>
  • C<cfset myObj = createObject("component", "myComponent")>
  • D<cfset val1 = createObject("component", "myComponent").method1()>
  • E<cfobject name="myObj" component="myComponent">

Unlock 9A0-127 to see the answer

You've previewed enough free 9A0-127 questions. Unlock 9A0-127 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 9A0-127 Practice
You want to instantiate a component, then call two methods of that... | 9A0-127 Q#28 Answer | NerdExam