What does the following code snippet demonstrate about the boolean data type?
boolean b = true;
Creates a boolean array
Declares and initializes a boolean variable 'b' with true
Syntax error in declaration
Declares a boolean variable 'b' and assigns it false