Microsoft
MB6-890 · Question #45
You have an X++ class that has the following code: You are writing a static method. You have an object of AssetBookCompareContract named assetBookCompareContractObj that is initialized within this…
The correct answer is D. info(assetBookCompareContractObj.parmFirstAssel:BookId()). See the full explanation below for the reasoning.
Question
You have an X++ class that has the following code:
You are writing a static method. You have an object of AssetBookCompareContract named assetBookCompareContractObj that is initialized within this method. You need to print the current value of the firstAssetBookld variable from the assetBookCompareContractObj object. Which piece of code should you use to achieve this goal?
Exhibit
Options
- AirvFo(assetBookCompareContractObj : :fIrstAssetBookld);
- Binfo(assetBookCompareContractObj.f IrstAssetBookld);
- Cinfo(assetBookCompareContractObj.panmFirstAssetBookId(""));
- Dinfo(assetBookCompareContractObj.parmFirstAssel:BookId());
How the community answered
(35 responses)- A17% (6)
- B9% (3)
- C3% (1)
- D71% (25)
Community Discussion
No community discussion yet for this question.
