Come in-->>
所在版块:求学狮城 发贴时间:2003-04-28 16:45  评分:

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
//for(int i=0;i<=st.countTokens();i++)
here you can't use countTokens as loop condition, because it varies during execution. Once nextToken() executes once, the value of countTokens() decrements by one
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

 相关帖子 我要回复↙ ↗回到正文
勤奋学习java,有个关于StringTokenizer的问题 夜不归宿   (815 bytes , 590reads )
关于debug duck   (510 bytes , 221reads )
CS1102 的tutor :D 谢谢duck 夜不归宿   (0 bytes , 195reads )
Come in-->> cigar   (201 bytes , 230reads )
谢谢了,那个原来是变量>.< 夜不归宿   (0 bytes , 165reads )
>>>>> 辰星   (74 bytes , 237reads )
说清楚点,加false什么意思>.< 夜不归宿   (0 bytes , 191reads )
加false的意思是 辰星   (233 bytes , 196reads )
啊。好像 辰星   (29 bytes , 175reads )
小伙子勤奋啊! 棋主   (390 bytes , 312reads )
谢谢了:D说的真清楚. 夜不归宿   (21 bytes , 201reads )
还有附加问一个 夜不归宿   (22 bytes , 192reads )
>>>>>> 辰星   (23 bytes , 153reads )
....我想看看程序运行的过程,一步一步的debug 夜不归宿   (0 bytes , 311reads )
>>>>>>>> 辰星   (114 bytes , 176reads )