标签:style blog color java ar div sp log c
if I want to repeat "hello" four times as a new string-> "hellohellohellohello". I can:
return new String(new char[4]).replace("\0", "hello")
标签:style blog color java ar div sp log c
原文地址:http://www.cnblogs.com/miaoz/p/3964941.html