IBM
C2180-408 · Question #65
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
(21 responses)- A5% (1)
- B5% (1)
- C81% (17)
- D10% (2)
Community Discussion
No community discussion yet for this question.