Adobe
9A0-127 · Question #32
Given the following code: <cfcomponent> <cfset x = 1> <cfset y = 2> <cffunction name="F1" access="remote"> <cfset var x = 5> <cfset y = 3> <cfreturn x + y> </cffunction> </cfcomponent> Which value…
The correct answer is D. 8. See the full explanation below for the reasoning.
Question
Given the following code:
<cfcomponent> <cfset x = 1> <cfset y = 2> <cffunction name="F1" access="remote"> <cfset var x = 5> <cfset y = 3> <cfreturn x + y> </cffunction> </cfcomponent> Which value is returned from function F1?
Options
- A3
- B4
- C7
- D8
How the community answered
(55 responses)- A15% (8)
- B4% (2)
- C7% (4)
- D75% (41)
Community Discussion
No community discussion yet for this question.