PrepAway - Latest Free Exam Questions & Answers

How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app by using JavaScript. The app will call a WinMD component
to convert temperature. The component exposes the following two members:
A static variable named Fahrenheit
A public method named GetInCelsius( ) that accepts an integer
You need to ensure that the app will display the temperature in Celsius and Fahrenheit. How should
you complete the relevant code? (To answer, select the correct code segment from each drop-down
list in the answer area.)

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

3 Comments on “How should you complete the relevant code?

  1. Vadim says:

    The question actually says:
    A static variable named Fahrenheit
    A public method named GetInCelsius( ) that accepts an integer

    So shouldn’t the member names capitalized, i.e. ‘Farenheit’, ‘GetInCecius’?




    0



    0

Leave a Reply