Yes. You can add(null) on both TreeSet and HashSet. 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.
Come have lunch with me Arthur. Adventure will follow. This tiny ad:
a bit of art, as a gift, that will fit in a stocking