Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Writing Your First Program | Getting Started
Introduction to Scala
course content

Course Content

Introduction to Scala

Introduction to Scala

1. Getting Started
2. Variables and Data Types
3. Conditional Statements and Loops
4. Arrays
5. Strings

bookWriting Your First Program

Task

Your task is to create a simple Scala application. We've provided a basic template for you. You only need to replace the line // replace this line with your code with the appropriate code to display "Hello World!" on the screen.

java

Main

copy
12345
object Main { def main(args: Array[String]): Unit = { // replace this line with your code } }

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 4
some-alt