SHARE
TWEET

Kotlin Sample

a guest May 18th, 2017 12,002 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fun main(args: Array<String>) {
  2.     if (args.size == 0) {
  3.         println("Please provide a name as a command-line argument")
  4.         return
  5.     }
  6.     println("Hello, ${args[0]}!")
  7. }
RAW Paste Data
Challenge yourself this year...
Learn something new in 2017
Top