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 constructor and its types?

1205


Describe what happens when an object is created in java ?

1064


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1971


In java how do we copy objects?

1088


Explain about member inner classes?

1152


What is the difference between a vector & an array list?

1216


What is class??

1294


What is private protected in java?

1093


What is difference between variable declaration and definition?

1010


What is an infinite loop? How infinite loop is declared?

1167


Which number is denoted by leading 0x or 0x in java?

1097


What do you understand by overloading and overriding in java?

1118


What is variable explain?

1047


What are the different access modifiers available in java?

1072


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

1139