Q. An attempt to add null key to a TreeMap will result in

  • (A) Compile time Exception
  • (B) Error
  • (C) Runtime – NullPointerException
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) Runtime – NullPointerException

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
182
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Uday Singh
Publisher
πŸ“ˆ
92%
Success Rate