Given the following:
What is the output?
Java instance fields are automatically initialized to their default values. A char defaults to the null character, which is not visibly rendered by println; a boolean defaults to false; and a float defaults to 0.0.
char
println
boolean
false
float
0.0
Community Discussion