1. mendefinisikan fungsi main
object MainApplication {
def main (args: Array[String]) : Unit = {
Console.println("Hello World");
}
}
2. inherit App
object MainApplication extend App {
Console.println("Hello World");
}
Blog ini adalah curahan hati dan opini gw. Feel free to visit as long as you dont make a riot in here ^^
object MainApplication {
def main (args: Array[String]) : Unit = {
Console.println("Hello World");
}
}
object MainApplication extend App {
Console.println("Hello World");
}
Search this site
powered by FreeFind |
|
No comments:
Post a Comment