So che è una domanda molto semplice. ma mi piacerebbe conoscere il formato stringa per l'operatore booleano. Ad esempio, di seguito sono riportati i formati stringa per intero, stringa e float. cosa potrebbe essere per l'operatore booleano vero/falso?StringFormat per Java Boolean Operator
System.out.printf("The value of the float " +
"variable is %f, while " +
"the value of the " +
"integer variable is %d, " +
"and the string is %s",
floatVar, intVar, stringVar);
http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html –
possibile duplicato del [formattazione utilizzando printf e formato] (http://stackoverflow.com/questions/8629995/formatting-using-printf-and-format) – Jens