阅读方法文档时,参数周围的括号是什么意思? [英] What do the brackets around the arguments mean when reading documentation for a method?
本文介绍了阅读方法文档时,参数周围的括号是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
通常在阅读有关可以将哪些参数传递给方法的文档时,我看到参数列表中使用了如下方括号:
Often when reading documentation on what arguments can be passed to a method, I see brackets used within the arguments list like this:
括号在这种情况下是什么意思?为什么逗号在括号内?
What do the brackets mean in this context? Why are the commas inside the brackets?
推荐答案
required
[optional]
[<可选>,<但两者都需要>]
.
几乎总是如此.
这篇关于阅读方法文档时,参数周围的括号是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文