快速学习-Scala关键字

关键字介绍

Scala有39个关键字:

package, import, class, object, trait, extends, with, type, forSome
private, protected, abstract, sealed, final, implicit, lazy, override
try, catch, finally, throw 
if, else, match, case, do, while, for, return, yield
def, val, var 
this, super
new
true, false, null
发布了1423 篇原创文章 · 获赞 1267 · 访问量 11万+

猜你喜欢

转载自blog.csdn.net/weixin_42528266/article/details/104486983