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


How to decrease number of hashings in has



How to decrease number of hashings in has..

Answer / gajendra

Specifying the initial capacity and load factor at the time
of declaration of Hashtable/HashMap will decrease the
number of hashings.

Hashtable ht=new Hashtable(15,0.75);

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Core Java Interview Questions

Why do I need to declare the type of a variable in java?

0 Answers  


Is string a data type in java?

0 Answers  


what is difference between abstract factory and factory design patterns?

0 Answers  


What does this () mean in java?

0 Answers  


Why vector class is used?

0 Answers  


Explain the difference between hashmap and hashtable in java?

0 Answers  


Are strings immutable in java?

0 Answers  


When do we need to use internal iteration? When do we need to use external iteration?

0 Answers  


how can you retrive information from database by using hashmap/arraylist ,plz explain with example briefly?

1 Answers   Satyam,


Is singleton class immutable?

0 Answers  


What are the different types of methodologies?

0 Answers  


When do we use hashset over treeset?

0 Answers  


Categories