The declaration of print(int) in the function fooBar hides the other declarations of print. It is as if there is only one print function available: the one that takes a single int parameter.
函数fooBar 中的print(int) 声明将屏蔽print 的其他声明,就像只有一个有效的print 函数一样:该函数仅带有一个int 型形参。
This time he only printed two hundred copies and offered them at one guinea each as it was smaller and less expensive to print.
这次他仅印了两百本 每本只卖一几尼,原因是这次的书比上次的小,所以印起来更加便宜。
Thus, I am able to iterate over the items and print their names, and in this case I should only receive one item back.
因此,我能够迭代项目并打印其名称,在本例中,我应该只收到一个项目。
应用推荐