Scala Study
- IF no Scala options like new class: Right click project -> add Framework Support
- IF still not able to add new Scala class: right click on src > Mark directory as > Sources Root
- Project Structure = command + ;
-
Constant
- initial const (val reserved word)
val name = "King"
- late const (val reserved word)
def name = "King"
- initial const (val reserved word)
-
Variable (var reserved word)
var name = "King"