Page 1 of 1
About Question enthuware.ocpjp.v8.2.1825 :
Posted: Mon Feb 24, 2020 10:31 am
by bvrulez
Re: About Question enthuware.ocpjp.v8.2.1825 :
Posted: Sat Feb 06, 2021 10:35 pm
by aomk_17
I believe the second answer choice explanation should say you can't specify generic type on the left hand side in this manner (it currently says right hand side)
Re: About Question enthuware.ocpjp.v8.2.1825 :
Posted: Sun Feb 07, 2021 10:10 am
by admin
The right hand side has a problem. It is missing a dot i.e. it should be:
PlaceHolder<String, String> ph2 = PlaceHolder.<String>getDuplicateHolder("b");
instead of
PlaceHolder<String, String> ph2 = PlaceHolder<String>getDuplicateHolder("b");
That is why the explanation says Right hand side.