nerdexam
IBM

C2180-279 · Question #81

When displaying native modal controls, the developer creates the following Worklight Common Control implementation: Assuming that the functions dialogYes, dialogNo and dialogHelp are properly…

The correct answer is A. The snippet will work as expected. See the full explanation below for the reasoning.

Question

When displaying native modal controls, the developer creates the following Worklight Common Control implementation:

Assuming that the functions dialogYes, dialogNo and dialogHelp are properly defined, what is expected to happen when this snippet is executed on a real device?

Exhibit

C2180-279 question #81 exhibit

Options

  • AThe snippet will work as expected.
  • BThe snippet will fail because it is missing the mandatory options parameter.
  • CThe snippet will fail to execute because WL.SimpleDialog does not support 3 or more buttons.
  • DThe snippet will work on iOS and BlackBerry, but it will only show buttons Yes and No for Android

How the community answered

(65 responses)
  • A
    78% (51)
  • B
    6% (4)
  • C
    12% (8)
  • D
    3% (2)

Community Discussion

No community discussion yet for this question.

Full C2180-279 Practice