nerdexam
IBM

C2180-279 · Question #102

A Worklight mobile application uses a native page to display a real-time graph of the price of a stock symbol. The native page is invoked from a web page using the WL.NativePage.show() method and…

The correct answer is C. var parm = {symbol: "IBM"}. See the full explanation below for the reasoning.

Question

A Worklight mobile application uses a native page to display a real-time graph of the price of a stock symbol. The native page is invoked from a web page using the WL.NativePage.show() method and requires a parameter that contains the value of the stock symbol to display. To pass the value of "IBM" as a parameter to the native page using the parm variable, how should the variable be initialized before passing it to the method?

Options

  • Avar parm = "IBM";
  • Bvar parm = ["IBM"];
  • Cvar parm = {symbol: "IBM"};
  • Dvar parm = ["symbol", "IBM"];

How the community answered

(22 responses)
  • A
    14% (3)
  • B
    5% (1)
  • C
    77% (17)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full C2180-279 Practice