Exam4Training

Why should a Digital Developer use ProductSearchModel.getProducts() instead of Category.getOnlineProducts() to access products?

Why should a Digital Developer use ProductSearchModel.getProducts() instead of Category.getOnlineProducts() to access products?
A . It is more readable code.
B . It has fewer lines of code.
C . It uses the search index.
D . It reduces accesses to the application server.

Answer: D

Exit mobile version