what is Hashmap & Hashtable wirh example?
Answer Posted / rameshreddy.k
---HashTable is synchronised BUT hashmap is not synchronised
---HashTable not allow null keys and null values BUT
HashMap allow only one null key and multiple null values
---HashTable not allow Duplicate keys and Douplicate values
are allowed.
Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
write a program that list all permutations of ABCDEF in which A appears before B?
Which object oriented concept is achieved by using overloading and overriding?
Which is faster set or list in java?
Why local variables are stored in stack?
What is type safety in java?
What are the two main uses of volatile in Java?
what are abstract functions?
What is class??
What is ternary operator?
Why we use set in java?
Explain the difference between treeset and treemap in java?
What restrictions are placed on method overriding in java programming?
Explain about anonymous inner classes ?
What do you mean by scope of variable?
what is the messsage u r going to get from an objectoriented programing?