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

How to convert string to int in java?

1 Answers  


What is the default value of float and double datatype in java?

0 Answers  


What happens if we override private method?

0 Answers  


What is a double vs float?

0 Answers  


Is java code slower than native code?

0 Answers  


What will happens if you opened Internet Explorer 4 times?

2 Answers  


What is an anonymous class?

1 Answers   IBM,


How do you remove duplicates from an array in java?

0 Answers  


What happens if an exception is throws from an object's constructor?

0 Answers   Amazon,


Write a program to create a binary Tree ?

2 Answers  


Can you instantiate the math class in Java?

0 Answers   IBS,


What is the difference between the program and the process?

1 Answers  


Categories