CIW
1D0-635 · Question #17
Consider the following declaration of a custom object: What needs to be changed to allow this script to run without error?
The correct answer is C. You must add the this keyword to the variables on the left side of the assignments. See the full explanation below for the reasoning.
Question
Consider the following declaration of a custom object:
What needs to be changed to allow this script to run without error?
Exhibit
Options
- AYou must remove the car_ prefix on the parameters.
- BYou must change the declaration syntax to object carObj.
- CYou must add the this keyword to the variables on the left side of the assignments.
- DYou must add the keyword var to each line inside the function.
How the community answered
(48 responses)- A8% (4)
- B4% (2)
- C71% (34)
- D17% (8)
Community Discussion
No community discussion yet for this question.
