nerdexam
Adobe

9A0-127 · Question #46

By using the <cfset> tag, you declare variables inside the onApplicationStart() method in the Application.cfc file. The variables are declared without any specific scope or var keyword. Which…

The correct answer is C. The local scope for the Application.cfc file including all its methods. See the full explanation below for the reasoning.

Question

By using the <cfset> tag, you declare variables inside the onApplicationStart() method in the Application.cfc file. The variables are declared without any specific scope or var keyword. Which variable scope is assigned for the variables?

Options

  • AThe request scope for the Application.cfc file.
  • BThe application scope for the entire application.
  • CThe local scope for the Application.cfc file including all its methods.
  • DThe server scope.

How the community answered

(15 responses)
  • A
    7% (1)
  • B
    7% (1)
  • C
    73% (11)
  • D
    13% (2)

Community Discussion

No community discussion yet for this question.

Full 9A0-127 Practice