public static void main(String[] args) {
String bb = String.format("我们是%s人,也是%s人", "中国","龙的传");
System.out.println(bb);
}
我们是中国人,也是龙的传人
String.format的用法
最新推荐文章于 2024-02-19 15:33:34 发布
public static void main(String[] args) {
String bb = String.format("我们是%s人,也是%s人", "中国","龙的传");
System.out.println(bb);
}
我们是中国人,也是龙的传人