在适用的情况下,使用 java.lang.String.format()java.io.PrintStream.printf() 用等效的 Java 格式模式替换字符串连接。