Lesson 15 of 15 · +110 xp

Object

Singleton.

Explained simply

Your task

Write object Math { val PI = 3.14 }

object-scala.scala
← Back