1.

What is the purpose of lazy loading?(a) Immediate loading is necessary(b) Loading under command(c) Immediate loading is not necessary(d) Loading after a definite intervalThe question was posed to me in an interview.The origin of the question is Lazy Loading in portion Invocation and Performance Navigation of JavaScript

Answer»

Correct choice is (c) Immediate LOADING is not necessary

Explanation: Lazy loading is a DESIGN PATTERN commonly used in COMPUTER programming to defer initialization of an object until the point at which it is needed. It can CONTRIBUTE to efficiency in the program’s operation if properly and appropriately used. Lazy loading is a kind of loading in which we don’t need our JavaScript code to be available as soon as the page loads.



Discussion

No Comment Found

Related InterviewSolutions