Answer Posted / 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 View All Answers
How do you remove all elements from an arraylist in java?
Explain numeric promotion?
What is http client in java?
What are methods and how are they defined?
What is thread pool? How can we create thread pool in java?
What is boolean in java?
Can each java object keep track of all the threads that want to exclusively access it?
Why java doesn’t support multiple inheritances?
What is string length in java?
How do I enable java in safari?
What are the types of strings?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
Why we cannot override static method?
Why for each loop is used?
How are this() and super() used with constructors in java programming?