A

Admin • 828.03K Points
Coach

Q. What is the default value of a String reference in Java?

  • (A) Empty string
  • (B) null
  • (C) 0
  • (D) "null"

Explanation by: Admin
The default value of a String reference (not initialized) is null.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.