message) { System.out.println(message); } void printMessage(String message, String prefix){ System.out.format("%s %s", message, prefix); } void printMessage(String message, String prefix,String suffix){ System.out.format("%s %s %s", message, prefix, suffix); } // Kotlin fun printMessage(message: String, prefix: String = "", suffix: String = "") { println("$prefix $prefix $suffix") } printMessage("Uno") printMessage("Uno", "Due", “Tre") printMessage(suffix = "Tre", message = "Uno", prefix = "Due")