Adobe
9A0-127 · Question #27
9A0-127 Question #27: Real Exam Question with Answer & Explanation
Sign in or unlock 9A0-127 to reveal the answer and full explanation for question #27. The question stem and answer options stay visible for context.
Question
A CFC file named MyComponent.cfc is stored in the cfc subfolder of the web server's document root folder. Which <cfscript> statement correctly creates an instance of the CFC?
Options
- Acomp = new cfc.MyComponent;
- Bcomp = new cfc.MyComponent();
- Ccomp = cfc.MyComponent();
- Dcomp = createObject("cfc.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.