I think it's a dummy question ...
Is there any difference or advantage between these?
object SomeApp extends App {
println("Hello world!")
}
object SomeApp {
def main(args: List[String]): Unit = {
println("Hello world!")
}
}
I think it's a dummy question ...
Is there any difference or advantage between these?
object SomeApp extends App {
println("Hello world!")
}
object SomeApp {
def main(args: List[String]): Unit = {
println("Hello world!")
}
}