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


Question 6 [9]
6.1 In what situations (in general) would you use a
TreeMap? (3)
6.2 In what situations (in general) would you use a HashSet
to store a collection of
values?



Question 6 [9] 6.1 In what situations (in general) would you use a TreeMap? (3) 6.2 In what situ..

Answer / ashima

TeeMap is used when the data is to be stored in a sorted
order of the keys.
HashSet is used when it is not required to store the data
in the sroted order. Also, the insertion, deletion and
selection is faster in HashSet.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the static import?

0 Answers  


What is the difference between array list and vector in java?

0 Answers  


What is mnemonic code?

0 Answers  


write a simple program inheritance?

2 Answers   Polaris,


define System.out.println(); what is the meaning!

19 Answers   Accenture,


Define inheritance with reference to java.

0 Answers  


What are data types in programming?

0 Answers  


Difference between Map & Hashmap

2 Answers   Mastek,


Is java still necessary?

0 Answers  


briefley expalin about the packages

3 Answers  


Does java return by reference?

0 Answers  


Explain the reason behind ending a program with a system.exit(0)?

0 Answers  


Categories