What is HashTable?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Explain wait() method of object class ?
What is difference between static class and normal class?
What is the flag in java?
What classes of exceptions may be caught by a catch clause in java programming?
What enableEvents() method do?
What happens when a class is made static like if a field or member is made static it becomes class variable and is shared by all the object of the class?
Can we create object of static class?
What is the root class for all Java classes?
What is namespace in java?
Can we serialize static variables in java?
Can we overload final method in java?
What are autoboxing and unboxing? When does it occur?