Writing 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.
Main.java
12345object Main { def main(args: Array[String]): Unit = { // replace this line with your code } }
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 4
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Ask me questions about this topic
Summarize this chapter
Show real-world examples
Awesome!
Completion rate improved to 2.86
Writing Your First Program
Swipe to show menu
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.
Main.java
12345object Main { def main(args: Array[String]): Unit = { // replace this line with your code } }
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 4