顾名思义,占位符就是先占住一个固定的位置,等着你再往里面添加内容的符号,广泛用于计算机中各类文档的编辑。
注意,这些值由变量占位符?表示。
Notice the that the values are represented by variable placeholders (?,?,?,?,?).
表示法是文本和占位符的组合。
The verbalization is a combination of plain text and placeholders.
And that's really a placeholder for the comma-separated list of values that I put after those quotes.
这其中还有一个逗号分开的有值的占位符,我把它放到了引号之后。
S We saw percent S which is a placeholder for a string, turns out as you'll see over time there are other placeholders.
我们知道字符串占位符,输出来就是另一番场景了,还有一些其他类型的占位符。
And what it's saying semantically is, using that variable as my placeholder, have it walk through this collection, starting at the first thing, execute that code, then the next thing, execute that code, and so on.
它的语义意思就是,把这个变量应用为我的占位符,用它来遍历这个集合,从第一个元素开始,执行代码,然后下一个元素,再执行代码。
应用推荐