What is the default value of a String variable in Java?

Last Updated :
Discuss
Comments

What is the default value of a String variable in Java?


""

null

" "

undefined

Share your thoughts in the comments