Created
October 17, 2019 00:00
-
-
Save DanisHack/5df148c64e7b2d9de3a6e3539a23125f to your computer and use it in GitHub Desktop.
Sample Scala code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Greeting { | |
def Greet() { | |
println("Hello from Educative!"); | |
} | |
} | |
object Main extends App { | |
var obj = new Greeting(); | |
obj.Greet(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment