Difficulty: Beginner
Estimated Time: 10 minutes

This playground provides a personalised sandboxed environment for you to learn and explore Scala.

What are playgrounds?

Playgrounds give you a configured environment to start playing and exploring using an unstructured learning approach.

Playgrounds are great for experimenting and trying samples. To learn more about the technology then start with one of our labs

Thank you for trying the playground. More courses and scenarios are available at on our homepage

Scala Language Playground

Hello World

Copy the following code into the editor.

object HelloWorld {
  def main(args: Array[String]): Unit = {
    println("Hello, world!")
  }
}

Step 1) Compile using scalac app.scala

Step 2) Execute using scala HelloWorld

Start the Scala REPL using scala

Interested in writing your own Java scenarios and demos? Visit www.katacoda.com/teach

app.scala

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

This tab will not be visible to users.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]