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...

Which class has no duplicate elements?

Answer Posted / shweta

set wont allow duplicate element all the classes implementin
set interface wont allow for eg HashSet TreeSet
Hash map will allow for two different key u can have same value

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to make a read-only class in java?

1157


I want to persist data of objects for later use. What is the best approach to do so?

1057


Can we execute a program without main?

1014


What is api in java?

974


Which list is sorted in java?

1027


Why are variables important in research?

944


We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.

1936


What's the access scope of protected access specifier?

1032


What is arraylist e in java?

1053


What is class forname?

1016


What is a boolean in java?

1048


What is difference between == and === in js?

1007


Explain the difference between intermediate and terminal operations in java8?

1111


Why are the objects immutable in java?

983


What do you mean by ternary operator in java?

1017