Boolean
The type to use for a boolean
that might be null is Boolean
.
void main() {
Boolean b = null;
System.out.println(b);
b = true;
System.out.println(true);
}
The type to use for a boolean
that might be null is Boolean
.
void main() {
Boolean b = null;
System.out.println(b);
b = true;
System.out.println(true);
}