You added a new constructor argument to an existing action controller class.
When you reload the page you get a PHP error that the wrong argument is passed to the class.
How do you fix this?
A. Clean the page cache
B. Deploy static content
C. Clean the <magento_root>/generated/ folder
D. Clean the config cache
Correct Answer: C
Answer: C
we are fire much time this command so no 0.0001% dout 🙂
no doubt, correct answer is C
Correct Answer C
C is correct
https://magento.stackexchange.com/questions/78826/creating-custom-module-in-magento2-show-fatal-error
i believe the correct answers is C, reference https://devdocs.magento.com/guides/v2.3/howdoi/php/php_clear-dirs.html#howdoi-clear-how