Java使用占位符拼接字符串-String.format()的使用
String domain = "www.ykmaiz.com";
int iVisit = 0;
String info = String.format("该域名%s被访问了%d次.", domain , iVisit);
详细参见 https://blog.csdn.net/lonely_fireworks/article/details/7962171
String domain = "www.ykmaiz.com";
int iVisit = 0;
String info = String.format("该域名%s被访问了%d次.", domain , iVisit);
详细参见 https://blog.csdn.net/lonely_fireworks/article/details/7962171