·2,447,543篇论文数据,部分数据来源于NoteExpress
youdao
Scala可以区分主构造函数和0个或多个辅助构造函数。
Scala distinguishes between a primary constructor and zero or more auxiliary constructors.
它调用主构造函数,并且传入Nil (Nil表示了一个空的List对象)。
It calls the primary constructor with Nil (which represents an empty List object).
应用推荐
模块上移
模块下移
不移动