Skip to content
TuffClassified

This listing has expired. You can no longer contact the seller.

Description


TreeSet is an implementation class of SortedSet. It was introduced from JDK1.2
The elements in the TreeSet are sorted by default in ascending order.We can add only the objects that are comparable type to TreeSet otherwise TreeSet throws ClassCastException.
The TreeSet doesn't support heterogeneous collection.Null cannot be inserted in TreeSet.
The Elements of the TreeSet compare themselves based on the comparable interface. Such comparison is known as mutual comparison.
for more free learning visit us at:
https://quipoin.com/view/Java/TreeSet

Details

Views 38
Listing ID #2204679
Website URL https://quipoin.com/view/Java/TreeSet

Location

Share this listing

Report this listing

Tell us what's wrong. Reports are confidential.

Reason for reporting

Message seller

You need an account to contact the seller.