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

Life Cycle of Thread

4 Answers   IBM,


Why is java not 100% pure oops?

0 Answers  


What super () does in java?

0 Answers  


What is the difference between stringbuffer and stringbuilder class?

0 Answers  


What is the difference between processes and threads?

0 Answers  






How would you format a date in java? I.e. In the ddmmyyy format?

0 Answers  


What is a static class in java?

0 Answers  


Why are lists ordered in java?

0 Answers  


What about instanceof operator in java?

0 Answers  


Compare overloading and overriding?

0 Answers  


Can we execute a program without main() method?

0 Answers  


What is casting?

5 Answers  


Categories