Page 1 of 1
About Question enthuware.ocpjp.v21.2.4010 :
Posted: Fri May 16, 2025 7:16 pm
by therealabderrahim
The second option is incorrect as the constructor is declared with the name Transformer2 while the name of the enum is Transformer. I don't know why the explanation says it's a legally valid code.
Re: About Question enthuware.ocpjp.v21.2.4010 :
Posted: Fri May 16, 2025 8:38 pm
by admin
You are right. The constructor should be named Transformer instead of Transformer2. But the option is still incorrect and the explanation is correct assuming the typo in the name of the constructor is fixed.
thank you for your feedback!