Which code segment should you use?

You are developing an application that consumes an external web service that returns the latest stock rate.
The application has two methods:
• The getResults() method makes an AJAX web service request
• The ShowRate() method displays the stock rate from the web service response You need to ensure that the ShowRate() method always displays the latest stock rate.
Which code segment should you use?

A. Option A
B. Option B
C. Option C
D. Option D

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.