Adobe Commerce Developer Professional AD0-E717 Question # 19 Topic 2 Discussion

Adobe Commerce Developer Professional AD0-E717 Question # 19 Topic 2 Discussion

AD0-E717 Exam Topic 2 Question 19 Discussion:
Question #: 19
Topic #: 2

A developer found a bug inside a private method of a third party module class. How can the developer override the method?


A.

Create a custom class with corrected logic, and define the class as preference in the preferences.xml.


B.

Create a custom class with the corrected logic, and define the class as a preference for original one in the di xml.


C.

Create a plugin, implement correct logic in the after" method, and then define the plugin in the di.xml.


Get Premium AD0-E717 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.