default value boolean code example Example: is a bool false by default The default value for a boolean is false.