Page 1 of 1

About Question enthuware.ocpjp.v7.2.1724 :

Posted: Wed Apr 15, 2015 7:43 am
by bptoth
In the explanation part it might worth to mention that here in fact the overloaded version of Collections.sort() is used, which gets a Comparator as a second parameter (in this case value null, that would mean natural ordering). The one-argument version of sort() would not even compile with an Object[] array converted to List

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

Posted: Wed Apr 15, 2015 11:15 am
by admin
You are right. The explanation has been updated.
thank you for your feedback!
Paul.