nerdexam
Adobe

9A0-127 · Question #59

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

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

Question

What is the correct syntax for a CFC function declared within a <cfscript> block that always returns a structure and throws a runtime error if the incorrect type is returned?

Options

  • Afunction myFunction() returntype="struct" { return structNew(); }
  • Bfunction myFunct():struct { return structNew(); }
  • Cfunction struct myFunction() { return structNew(); }
  • Dfunction myFunction() { return structNew(); }

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