A

Admin • 833K Points
Coach

Q. An attempt to add the null key to a TreeSet will result in:

  • (A) Will compile
  • (B) Compile time Exception
  • (C) Error
  • (D) Runtime – NullPointerException
  • Correct Answer - Option(D)
  • Views: 25
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.