Contact: aviboots(AT)netvision.net.il
32,309 questions
42,484 answers
573 users
object ReverseString_Scala { def reverseString(s: String): String = { s.split("").reverse.mkString("") } def main(args: Array[String]): Unit = { val s = "Scala C C++ C# Java" println(reverseString(s)) } } /* run: avaJ #C ++C C alacS */