【发布时间】:2014-09-09 05:40:52
【问题描述】:
我知道它非常简单的问题。但我想知道布尔运算符的字符串格式。 例如,下面显示了整数、字符串和浮点数的字符串格式。布尔运算符 true/false 可能是什么?
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);
【问题讨论】:
标签: java