fork download
  1. object Main extends App {
  2. implicit class MyStringExtension(val src: String) {
  3. def myPrintln: Unit = println("!!!!!" + src + "!!!!!")
  4. }
  5. "Hello".myPrintln
  6. }
Success #stdin #stdout 0.37s 2181632KB
stdin
Standard input is empty
stdout
!!!!!Hello!!!!!