Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app will be used to retrieve data froma
web service. The app must retrieve the current dateand time in UTC format from the web service by using the
URL http://www.treyresearch.net/ GetDateTimeinUTC.asmx. Errors must be handled. You must ensure that
data is retrieved successfully. Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app will be used to retrieve data froma
web service. The app must retrieve the current dateand time in UTC format from the web service by using the
URL http://www.treyresearch.net/ GetDateTimeinUTC.asmx. Errors must be handled. You must ensure that
data is retrieved successfully. Which code segment should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 0

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