Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



#odersky-programming-in-scala-1ed #scala
the first element in a Scala array named steps is steps(0) , not steps[0] , as in Java.
If you want to change selection, open document below and click on "Move attachment"

First Steps in Scala
nother greeting: Hello, world, from a script! Command line arguments to a Scala script are available via a Scala array named args. In Scala, arrays are zero based, and you access an element by specifying an index in parentheses. So <span>the first element in a Scala array named steps is steps(0), not steps[0], as in Java. To try this out, type the following into a new file named helloarg.scala: // Say hello to the first argument println("Hello, "+ args(0) +"!") then run:


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.