boolean default value 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: is a bool false by default
The default value for a boolean is false.