About Question enthuware.ocpjp.v7.2.1309 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
vddoan
Posts: 2
Joined: Fri Feb 21, 2014 9:42 am
Contact:

About Question enthuware.ocpjp.v7.2.1309 :

Post by vddoan »

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

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1309 :

Post by admin »

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!

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests