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 |
Why do I need to declare the type of a variable in java?
Is string a data type in java?
what is difference between abstract factory and factory design patterns?
What does this () mean in java?
Why vector class is used?
Explain the difference between hashmap and hashtable in java?
Are strings immutable in java?
When do we need to use internal iteration? When do we need to use external iteration?
how can you retrive information from database by using hashmap/arraylist ,plz explain with example briefly?
Is singleton class immutable?
What are the different types of methodologies?
When do we use hashset over treeset?