nerdexam
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

1D0-635 question #17 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)
  • A
    8% (4)
  • B
    4% (2)
  • C
    71% (34)
  • D
    17% (8)

Community Discussion

No community discussion yet for this question.

Full 1D0-635 Practice