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
What is array in java?
Is logger a singleton?
Explain throw keyword in java?
What is final int?
Explain the advantages of packages in java?
what is bmg file and how to create that files?what will it contailn?
What is the right data type to represent a price in java?
Enlist few advantages of inheritance?
What happens when you add a double value to a string?
Is list thread safe in java?
What is the difference between integer parseint and integer valueof?
Can you call a method in a method?
Does substring start with 0?
Can we override private constructor in java?
Can we make a constructor final?