double d = 345.678;. String s = "hello!";. int i = 1234;. //"%"表示进行格式化输出,"%"之后的内容为格式的定义。 System.out.printf("%f",d) ...
確定! 回上一頁