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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you remove all elements from an arraylist in java?

944


Explain numeric promotion?

1023


What is http client in java?

1021


What are methods and how are they defined?

1132


What is thread pool? How can we create thread pool in java?

1008


What is boolean in java?

910


Can each java object keep track of all the threads that want to exclusively access it?

907


Why java doesn’t support multiple inheritances?

959


What is string length in java?

892


How do I enable java in safari?

978


What are the types of strings?

976


Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?

935


Why we cannot override static method?

986


Why for each loop is used?

958


How are this() and super() used with constructors in java programming?

1014