From b32a76a5544171f3c606533b944d419b6e9f21db Mon Sep 17 00:00:00 2001 From: AhsanShuvo Date: Wed, 22 Jun 2022 20:39:52 +0600 Subject: [PATCH] Update methods-main-methods.md --- _overviews/scala3-book/methods-main-methods.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_overviews/scala3-book/methods-main-methods.md b/_overviews/scala3-book/methods-main-methods.md index bee342a45f..e30da56dcd 100644 --- a/_overviews/scala3-book/methods-main-methods.md +++ b/_overviews/scala3-book/methods-main-methods.md @@ -50,6 +50,7 @@ For example, given this `@main` method that takes an `Int`, a `String`, and a va val sb = StringBuilder(s"Happy $age$suffix birthday, $name") for other <- others do sb.append(" and ").append(other) sb.toString + println(sb) ``` When you compile that code, it creates a main program named `happyBirthday` that’s called like this: