Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Scala 区分无参数类和特征。为什么?为什么我不应该将所有无参数类声明为特征?
例如,不能实例化特征