// an extension method adds a method to an existing type extension (s: String) def shout: String = s.toUpperCase + "!" @main def main(): Unit = println("hello".shout)
add new syntax to String