java变量命名的一个问题
所在版块:技术の宅 发贴时间:2005-09-04 22:11

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 

比如在一个for loop里面,每loop一次我要建一个新的变量,我想给这些变量命名是str1, str2, str3..,

for(int i = 0; i <10; i++)
{
...
}
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

Put your OWN COOL signature here!
 相关帖子 我要回复↙ ↗回到正文
java变量命名的一个问题 阿朱   (134 bytes , 516reads )
Why don't use array? 香陵居士   (0 bytes , 169reads )
汗,脑子短路了,没想到,谢谢啊 阿朱   (0 bytes , 264reads )
ya, for static/stack-based allocation, one should consider array SmellsLikeTeenSpirit   (65 bytes , 189reads )