Ten thousand people show up here most days,at a building of the Haitian agriculture ministry, which the U.S.Army is using temporarily as a data collection and operations center.
VOA: standard.2010.01.30
An object is a collection of data and functions.
对象就是数据和函数的集合。
Now I'm putting count in double quotes, not to make it a string, but to say, this is count generically. It could be counting one by one through the integers, it could also be taking a collection of data and going through them one by one. It could be doing counting in some other mechanism.
现在我把count用双引号标起来,不是说把它命名为一个字符串,而是说,这是一个通用的计数器,它可能是每一次减1的整数,也可能是拿一个集合的数据然后,一个一个的访问它们,也可能是以某种机制来计数。
That is basically saying, given some collection of data, I want to have again a looping mechanism, where now my process is, walk through this, the collection one element at a time. And for that, we have a particular construct, called a FOR loop.
现在我的过程就是,通过一个个访问这个集合中,的元素的方式,来遍历这个集合,为了达到这个目的,我们有一个特定的结构,成为FOR循环。
应用推荐