I'm taking my first steps in scala, and here is an "hello world"-like code :
package test
object Main {
def main(args: Array[String]): Unit = {
println("Blabla something : " + 3)
println("Blabla something : " , 3)
}
}
Here is the output I get :
Blabla something : 3
(Blabla something : ,3)
Why are there parentheses printed in the second line, along with the "," ? I was expecting the same output as in the first line.
Note : I tried searching for scala println parentheses and such, but all I get is posts on how to remove the parentheses from the code, not from the output.