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.

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments