Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object Example1 {
- def main(args: Array[String]): Unit = {
- printf("Hello, world")
- }
- }
- // vs
- object Example2 extends App {
- printf("Hello, world")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement