What should the Developer do to improve the code?

A Digital Developer has identified that the code segment below is causing performance problems.

What should the Developer do to improve the code?
A. Use a system attribute instead of the isOnSaleFlag custom attribute.
B. Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.
C. Breaks the process into separate loops.
D. Avoid using an Iterator and use a Collection instead.

Download Printable PDF. VALID exam to help you PASS.

One thought on “What should the Developer do to improve the code?

Leave a Reply

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


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