Scala allows you to inherit from scala.App
(which uses DelayedInit
) to set up a simple and small Main
program. However, since DelayedInit
is now deprecated, it is recommended that you define a suitable entry point of your own.
object Main extends App
object Main {
def main(args: Array[String]): Unit = {}
}