What is HashTable?

Answers were Sorted based on User's Feedback



What is HashTable?..

Answer / ravikiran(aptech mumbai)

Hashtable implements Map inteface
Hashtable is a legacy class.
Hashtable makes use of hashing technique to save the objects.
Hashtable saves the values of objects as key value pairs.
Hashtable doenn't allows null keys or null values.

Is This Answer Correct ?    16 Yes 5 No

What is HashTable?..

Answer / janet

The Hashtable class implements a Hashtable data structure.A
Hashtable indexes and stores objects in a dictionary using
hash codes as the objects's keys. Hash codes are integer
values that identify objects.

Is This Answer Correct ?    15 Yes 5 No

What is HashTable?..

Answer / kalyan

hash table is synchronized ,so in performance perspective
it is not good when compared to hashmap

Is This Answer Correct ?    11 Yes 2 No

What is HashTable?..

Answer / yogesh sanas

Hash Table is a type of data structure. It contains the key
value pairs. Each key is associated with its value.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Core Java Interview Questions

Hi friends, i am new to java. can you explain how java is secured.

2 Answers  


What is skeleton and stub?

0 Answers  


What is runtime locatable code?

0 Answers   Cognizant,


What is an object in Java and what are its benefits?

4 Answers   IBM,


What are the uses of synchronized keyword?

0 Answers  






How do I find and replace in word?

0 Answers  


Explain about anonymous inner classes ?

0 Answers  


what is bytecode ?explain in detail and watz the difference between bytecode and machine code?

6 Answers   Lucent,


How do you create a method in java?

0 Answers  


What does %d do in java?

0 Answers  


How can you avoid serialization in child class if the base class is implementing the serializable interface?

0 Answers  


From the two, which would be easier to write: synchronization code for ten threads or two threads?

0 Answers  


Categories