Page 1 of 1

About Question enthuware.ocpjp.v8.2.1825 :

Posted: Thu Jun 22, 2017 10:01 am
by UncleF
I think the explanation is a little bit misleading here for option 2.
You actually can specify generic types for methods, the only problem is it should be _after_ the dot, not _before_ it.
This will work:
PlaceHolder<String, String> ph1 = PlaceHolder.<String>getDuplicateHolder("b");

Re: About Question enthuware.ocpjp.v8.2.1825 :

Posted: Thu Jun 22, 2017 8:36 pm
by admin
Updated.
thank you for your feedback!
Paul.