I know its very simple question. but I would like to know the stringformat for boolean operator. For example, below shows the string formats for integer, string and float.
You can try this
float floatVar=1.0f;
int intVar=1;
String stringVar="hi";
boolean boolVar=false;
System.out.printf("The value of the float " +
"variable is %f, while " +
"the value of the " +
"boolean variable is %b, " +
"and the string is %s",
floatVar, boolVar, stringVar);
%b is you are looking at