Scala Exercises
https://www.scala-exercises.orgScala Exercises is an open source project for learning various Scala tools and technologies. Learn, play and contribute. 1 Learn Exercises start with the basics and progress with your skill …
Hello, World | Scala Book | Scala Documentation
docs.scala-lang.org › overviews › scala-bookSince the release of the book, C Programming Language, most programming books have begun with a simple “Hello, world” example, and in keeping with tradition, here’s the source code for a Scala “Hello, world” example: object Hello { def main (args: Array [ String ]) = { println ( "Hello, world" ) } } Using a text editor, save that source code in a file named Hello.scala.
Simple Program of Scala - javatpoint
www.javatpoint.com › simple-program-of-scalaTo write scala program you need to install scala on your machine. You must have latest jdk installed on your machine because scala compiler creates .class file which is a byte code. Scala interpreter executes this byte code by using jvm (Java Virtual Machine). Scala Example: Hello Scala The following code example is a simple scala program.
The Scala Programming Language
scala-lang.orgFeb 13, 2010 · In Scala, futures and promises can be used to process data asynchronously, making it easier to parallelize or even distribute your application. In this example, the Future{} construct evaluates its argument asynchronously, and returns a handle to the asynchronous result as a Future[Int]. For-comprehensions can be used to register new callbacks (to post new things to do) when the future is completed, i.e., when the computation is finished.