一言以蔽之,object相当于Java中的singletontrait相当于Java中的interface

参考资料:
Difference between object and class in Scala