Question : print hello world in scala
Answered by : obedient-okapi-cl1xkbp2t44a
object Hello { def main(args: Array[String]) = { println("Hello, world") }
}
Source : https://docs.scala-lang.org/overviews/scala-book/hello-world-1.html | Last Update : Tue, 22 Mar 22
Question : print hello world in scala
Answered by : obedient-okapi-cl1xkbp2t44a
public class Hello { public static void main(String[] args) { System.out.println("Hello, world"); }
}
Source : https://docs.scala-lang.org/overviews/scala-book/hello-world-1.html | Last Update : Tue, 22 Mar 22