Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

In treeset we add same object ...what will be the out put

Answer Posted / mohit

A Set is a Collection that cannot contain duplicate elements...TreeSet is also a set so it will not keep duplicate items....it will show only unique values....

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If a method is declared as protected, where may the method be accessed?

1066


How to sort elements in a parallel array in java?

951


How do you delete a list in java?

1022


Can we synchronize static methods in java?

1151


What does substring mean?

1031


Is 0 an irrational number?

1108


Is java a utf 8 string?

1022


What are static blocks and static initalizers in java ?

1137


What is a buffer in java?

1069


What is a native method in java programming?

1111


What is the default access specifier for variables and methods of a class?

1253


What is an object in java?

1090


What are some alternatives to inheritance?

1165


Is a class subclass of itself?

1127


How hashset works internally in java?

1140