What is the Initial value of unassigned char literal?
I thought it to be null & so does the JLS says...
JLS Initial Value of Variables But then why does this runs without null pointer exception?
The output is false false.
But when you print ch as System.out.prinln(ch) it prints nothing on screen [ neither null nor 0]. Can someone explian?
Source: Enthuware