Hi,
In this question, when I used the diamond syntax in the initilisation of the variable returnValue within the getWordsStartingWith method, the software said it is incorrect. However, this declaration is ok for compilation
Collection< E > returnValue = new ArrayList< >();
Regards
Viet
About Question enthuware.ocpjp.v7.2.1309 :
Moderators: Site Manager, fjwalraven
-
- Posts: 2
- Joined: Fri Feb 21, 2014 9:42 am
- Contact:
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1309 :
You are right. That is also valid but is not set as a correct answer. It has now been fixed.
thank you for your feedback!
thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 7 guests