what is Hashmap & Hashtable wirh example?
Answer Posted / leosun
Hashtable will not allow null key nor values,where as
Hashmap allows null key and values
| Is This Answer Correct ? | 14 Yes | 8 No |
Post New Answer View All Answers
What is use of super keyword in java?
What is java thread dump, how can we get java thread dump of a program?
What is a “stateless” protocol ?
Explain about static nested classes in java?
How does compareto work in java?
What are the types of arrays in java?
What is Java Package and which package is imported by default?
What is an off by one error in java?
What are controls and their different types in awt?
What is method overloading in java ?
What are data structures in java?
What steps are taken when the OS shifts from one-thread execution to another?
How many bytes are a float?
How we can declare a static variable?
What is a hashmap used for?