Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E704 Topic 10 Question 48 Discussion

Actual exam question for Adobe's AD0-E704 exam
Question #: 48
Topic #: 10
[All AD0-E704 Questions]

When your class will be instantiated all the dependencies injected in your class constructor will also get instantiated, and it will trigger a chain reaction of object creation, this can really slow down the process. What could be the solution of above problem?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Eulah
3 days ago
I think the solution is to use Dependency Injection with the help of di.xml. This way, we can manage the instantiation of dependencies more effectively.
upvoted 0 times
...
Lashawn
3 days ago
I personally prefer using Dependency Injection with help of di.xml, as it provides a cleaner and more organized way of managing dependencies.
upvoted 0 times
...
Ettie
4 days ago
I agree with Carman, using Proxy classes can help in avoiding the slow down caused by object creation.
upvoted 0 times
...
Carman
7 days ago
I think the solution could be using Proxy classes with help of di.xml.
upvoted 0 times
...

Save Cancel