Contact: aviboots(AT)netvision.net.il
43,700 questions
57,013 answers
573 users
def printAll(args: Any*): Unit = { args.foreach(println) } // Calling the function with different numbers and types of arguments printAll("Scala", 9782, true, 3.14) /* run: Scala 9782 true 3.14 */