import java.util.* fun main(args: Array<String>) { println("abc".replace("", "k")) println("".replace("", "k"))}
Standard input is empty
kakbkck k
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!