![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
scala
shenhuxi_yu
记录职业生涯
展开
-
scala 类与对象的区别
class C defines a class, just as in Java or C++.object O creates a singleton object O as instance of some anonymous class; it can be used to hold static members that are not associated with instances of some class.object O extends T makes the object O a.翻译 2021-01-21 16:22:42 · 193 阅读 · 0 评论 -
mill 编译scala No main class specified or found
scala mill ubuntu 编译helloworldhttps://mikeperry.io/posts/mill-scala/LAPTOP-FN2M7AS9:~/proj/scala$ ./mill hello.compile[10/27] hello.resourcesLAPTOP-FN2M7AS9:~/proj/scala$ ./mill hello.runhello.finalMainClass No main class specified or foundLAPTOP原创 2021-01-15 00:32:31 · 667 阅读 · 0 评论