A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Programmer Certification (SCJP/OCPJP)
can either TreeSet OR HashSet contain null values ?
Joined: Nov 02, 2000
Dec 27, 2000 02:54:00
Joined: Nov 30, 2000
Dec 27, 2000 08:06:00
Yes. You can add(null) on both
Check your self from JDK and try writing some code before posting this kind of questions. But it's good to let the public know.
I agree. Here's the link:
subject: can either TreeSet OR HashSet contain null values ?
Testing a arraylist for the same string
Duplicates in Collections-Confused!!
Check duplication in a very large file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015