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 |
What is parameter example?
What is the best definition for data?
Define the term string pool?
What are different exception types exceptions available in java ?
What is Hash Code in Java?
Can a constructor call the constructor of parent class?
What is boolean false?
What is static variable with example?
What is a boolean field?
Explain the difference between private, public, package and protected in java?
What are the topics in core java?
What is an abstract class and abstract method?