問題:
I could only do this with String, for example:我只能用字符串來做到這一點,例如:
String str="";
for(int i=0;i<100;i++){
str=i+str;
}
Is there a way to achieve this with StringBuilder?有沒有辦法用 StringBuilder 實現這一點? Thanks.謝謝。
I could only do this with String, for example:我只能用字符串來做到這一點,例如:
String str="";
for(int i=0;i<100;i++){
str=i+str;
}
Is there a way to achieve this with StringBuilder?有沒有辦法用 StringBuilder 實現這一點? Thanks.謝謝。