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 a Java package and how is it used?
What is the difference between the synchronized() & static synchronized()?
What are the data types supported by java?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
How do you check if an arraylist is not empty?
what is the difference between thread and runnable types? : Java thread
What is java abstraction with example?
What does it mean to flush a file?
Hi Friends, can you give difference between extending thread class and implementing runnable interface.
Why do I need to declare the type of a variable in java?
What is communist flag?
Difference String and String Buffer