default string value java code example
Example 1: default boolean value java
Default values for variable types:
Object = null
int, double, long, (etc) = 0
boolean = false
char = '\u0000'
Example 2: java string default value
It's initialized to null if you do nothing, as are all reference types.