nerdexam
Adobe

9A0-127 · Question #41

You have a database table named Art, which uses an automatically-incremented integer for the artId primary key column. You want to create a persistent Art component that provides a default value of…

The correct answer is C. You must add unsavedValue = "0" to the artId property. See the full explanation below for the reasoning.

Question

You have a database table named Art, which uses an automatically-incremented integer for the artId primary key column. You want to create a persistent Art component that provides a default value of zero for new Art instances that do not correspond to existing database records. Which statement is true about what must be done to accomplish this?

Options

  • ANothing needs to be done as it happens automatically.
  • BYou cannot do anything at this time.
  • CYou must add unsavedValue = "0" to the artId property.
  • DYou must add default = "0" to the artId property.

How the community answered

(49 responses)
  • A
    8% (4)
  • B
    12% (6)
  • C
    76% (37)
  • D
    4% (2)

Community Discussion

No community discussion yet for this question.

Full 9A0-127 Practice