Scala:无参数类与特征

时间:2013-11-06 20:10:05

标签: scala traits

Scala区分无参数类和特征。为什么? 我有没有理由不将所有无参数类声明为特征?

1 个答案:

答案 0 :(得分:0)

例如,无法实例化特征

相关问题