nerdexam
Oracle

1Z0-436 · Question #55

Your customer wants to have the Commerce pricing function invoke a Util library function , which applies discounts on the distributor price, the reseller price, and the end- applyDiscounts()…

The correct answer is A. Add all values to an array and return the array. B. Construct a return result string in the following format and return this string: C. Add these values to a dictionary along with appropriate keys and return this dictionary. See the full explanation below for the reasoning.

Question

Your customer wants to have the Commerce pricing function invoke a Util library function , which applies discounts on the distributor price, the reseller price, and the end- applyDiscounts() customer price, and then returns the discounted values. Identify three approaches that can be used to pass these values back to the Commerce pricing function.

Options

  • AAdd all values to an array and return the array.
  • BConstruct a return result string in the following format and return this string:
  • CAdd these values to a dictionary along with appropriate keys and return this dictionary.
  • DReturn the values by using multiple return statements.

How the community answered

(21 responses)
  • A
    86% (18)
  • D
    14% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-436 Practice