posted 21 years ago
Hi all. I have the next question about subject:
I thought that the output would be Bill Carl Kathy because TreeMap is sorted by natural order, but output is Bill Kathy Carl.
Why?
Approximately the same example with TreeSet print out results in alfabetical (natural) order.
Thanks in advance.
[ April 05, 2004: Message edited by: Serghei Jelauc ]
SCJP 1.4 <br />SCBCD 1.3<br />SCWCD 1.4