About Question enthuware.ocpjp.v7.2.1309 :
Posted: Fri Feb 21, 2014 9:50 am
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
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