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

What is a Java package and how is it used?

2 Answers  


What is the difference between the synchronized() & static synchronized()?

2 Answers   HP, SparkTG,


What are the data types supported by java?

0 Answers  


Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

0 Answers   Amazon,


How do you check if an arraylist is not empty?

0 Answers  


what is the difference between thread and runnable types? : Java thread

0 Answers  


What is java abstraction with example?

0 Answers  


What does it mean to flush a file?

0 Answers  


Hi Friends, can you give difference between extending thread class and implementing runnable interface.

4 Answers  


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

0 Answers  


What is communist flag?

0 Answers  


Difference String and String Buffer

4 Answers  


Categories