Tag: scala
Scala 3 Basics
Basics How to declare a variable Declare a constant variable val x: Int = 42 or val x = 42 Declare a variable var x: Int = 42 or var x = 42 Expressions & Instructions Code Blocks Functions How to define functions def aFunction(a: String, b: Int): String = { a + ” “…