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 |
What is lazy programming?
explain System.out.println()
What is assembly used for?
what is AWT
How do you override a method in java?
Do loops java?
What is null in java?
how session will be expired ?
How do you identify independent and dependent variables?
What is early binding and late binding in java?
If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?
What is the default modifier in Interface?