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 exactly is java?

0 Answers  


How do you remove duplicates from an array in java?

0 Answers  


How are java objects passed to a method and what are native methods?

0 Answers   Genpact,


Why pass by reference is not possible in java?

0 Answers  


Is map sorted in java?

0 Answers  


What is hashtable and explain features of hashtable?

0 Answers  


In which language java is written?

0 Answers  


What is scanner in java?

0 Answers  


What a static class can contains?

0 Answers  


How does enum work in java?

0 Answers  


Explain java coding standards for constants?

0 Answers  


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

0 Answers  


Categories