Contact: aviboots(AT)netvision.net.il
39,845 questions
51,766 answers
573 users
import scala.collection.mutable._ object O { def main(args: Array[String]): Unit = { val q = Queue(6, 8, 0, 1, 4) println(q) q.foreach((element:Int) => printf("%3d", element)) } } /* run: Queue(6, 8, 0, 1, 4) 6 8 0 1 4 */