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

What is array in java?

1004


Is logger a singleton?

950


Explain throw keyword in java?

1048


What is final int?

1024


Explain the advantages of packages in java?

919


what is bmg file and how to create that files?what will it contailn?

2355


What is the right data type to represent a price in java?

960


Enlist few advantages of inheritance?

1075


What happens when you add a double value to a string?

1000


Is list thread safe in java?

922


What is the difference between integer parseint and integer valueof?

1001


Can you call a method in a method?

1094


Does substring start with 0?

988


Can we override private constructor in java?

978


Can we make a constructor final?

1021