How should you complete the code and call the method?
HOTSPOT
You have the following class definition:

You need to create an extension class and create a new static method in it that converts miles to kilometers and then call the method from another class.
How should you complete the code and call the method? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Answer: 
Explanation:
Box 1: final class CustUnitConv_Extension
Box 2: var km = UnitConv::miToKm(62.1371);
Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc
Latest MB-500 Practice Questions with 117 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments