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

05-11 17:25