Contact: aviboots(AT)netvision.net.il
41,467 questions
54,014 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 */