String.fomat. 例如:. String.format("%s 今年%d 岁","我", 24);. 该方法的缺点是必须指定模板的参数类型,例如 %s 必须传入String类型否则将抛出 ...
確定! 回上一頁