what is the difference between HashMap and Hashtable

Answer Posted / prabhat ranjan

You all said that HashMap allows 1 null key and mulitple
null values but why ? What was the basic idea behind it
making such feature by JAVA bulider ?

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

787


What are data structures in java?

716


What is the use of conditional statement?

732


How many types of the indexof method are there for strings?

701


What is rule of accessibility in java?

750


What is parsing in java?

704


Is 64bit faster than 32 bit?

783


Is it possible to specify multiple jndi names when deploying an ejb?

748


What is meant by method?

771


What is sorting in java?

727


Explain aggregation in java?

725


What is an error in java?

839


Can I learn java in 3 months?

746


How do you format in java?

764


What are white spaces in java?

727