Which of the following statements about TreeMap is correct?

Last Updated :
Discuss
Comments

Which of the following statements about TreeMap is correct?

TreeMap maintains insertion order

TreeMap allows null keys

TreeMap sorts keys in ascending order by default

TreeMap uses a hash table for storage

Share your thoughts in the comments