what is the difference between HashMap and Hashtable
Answer Posted / venkatesh marni
in the HashMap & Hashtable wen ever key values are Same then
it maps only to the value which is mapped at last.
REFER to the ANS.9 above we can access only one value.
but Hashtable is Synchronized one and it wont stores any
null values.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain the use of sublass in a java program?
How the interruptible method gets implemented?
What is the difference between a constructor and a method?
Is main is a keyword?
How do you do math powers in java?
Explain about class in java?
In Java list the methods that can be overridden?
How does list work in java?
What are the characteristics of Final,Finally and Finalize keywords.
What is finally and finalize in java?
What do you understand by casting in java language?
Is java 11 paid version?
Explain the reason behind ending a program with a system.exit(0)?
What is a Presistent Object?
What restrictions are placed on method overriding in java programming?