Hi, Can anyone please answer : Which of the following may take a Comparato as argument to control softing order?
A Collections.sort() method B Collection.sort() method C The TreeSet constructor D Arrays.sort() method
I think the answer is A, C and D.
Regards<br />Sandy<br />[SCJP 5.0 - 75%]<br />[SCWCD 1.4 - 85%]<br />------------------<br />Tiger, Tiger burning bright,<br />Like a geek who works all night,<br />What new-fangled bit or byte,<br />Could ease the hacker's weary plight?
Originally posted by Sandeep Chhabra: ...this question is from whizlabs. and It doesnt agree's with me According to them Arrays.sort cannot take comparator as an argument. This is the reason that I wanted to confirm.
it helps to try out at least one simulation software, to get a feel of the exam. i think there some free ones, so i didnt need to buy any. and also, scjp is an exam with the most free mock exams on the web. you will have more than enough without buying any.
Joined: Oct 12, 2005
Originally posted by Jesus Angeles: scjp is an exam with the most free mock exams on the web. you will have more than enough without buying any.
There are NOT many mock exams for SCJP 5! I know there are lots for 1.4 version, but they are not enough for this one